Searched defs:button (Results 1 - 12 of 12) sorted by relevance

/inkscape/src/ui/widget/
H A Danchor-selector.cpp19 void AnchorSelector::setupButton(const Glib::ustring& icon, Gtk::ToggleButton& button) { argument
23 button.set_relief(Gtk::RELIEF_NONE);
24 button.show();
25 button.add(*buttonIcon);
26 button.set_can_focus(false);
H A Dpanel.cpp89 if ( (event->type == GDK_BUTTON_PRESS) && (event->button == 3 || event->button == 1) ) {
91 _menu->popup(event->button, event->time);
576 g_warning("Apply button clicked for panel [Panel::_apply()]");
581 Gtk::Button *button = new Gtk::Button(button_text); local
582 _addResponseButton(button, response_id, pack_start);
583 return button;
588 Gtk::Button *button = new Gtk::Button(stock_id); local
589 _addResponseButton(button, response_id, pack_start);
590 return button;
593 _addResponseButton(Gtk::Button *button, int response_id, bool pack_start) argument
[all...]
/inkscape/src/widgets/
H A Dbutton.cpp2 * Generic button widget
17 #include "button.h"
35 static void sp_button_clicked(GtkButton *button);
36 static void sp_button_perform_action(SPButton *button, gpointer data);
37 static gint sp_button_process_event(SPButton *button, GdkEvent *event);
39 static void sp_button_set_action(SPButton *button, SPAction *action);
40 static void sp_button_set_doubleclick_action(SPButton *button, SPAction *action);
41 static void sp_button_action_set_active(SPButton *button, bool active);
62 static void sp_button_init(SPButton *button) argument
64 button
80 SPButton *button = SP_BUTTON(object); local
157 sp_button_clicked(GtkButton *button) argument
166 sp_button_process_event(SPButton *button, GdkEvent *event) argument
182 sp_button_perform_action(SPButton *button, gpointer ) argument
191 SPButton *button = SP_BUTTON(g_object_new(SP_TYPE_BUTTON, NULL)); local
206 sp_button_toggle_set_down(SPButton *button, gboolean down) argument
214 sp_button_set_doubleclick_action(SPButton *button, SPAction *action) argument
225 sp_button_set_action(SPButton *button, SPAction *action) argument
255 sp_button_action_set_active(SPButton *button, bool active) argument
293 GtkWidget *button; local
[all...]
H A Dink-action.cpp8 #include "widgets/button.h"
211 GtkToolButton* button = GTK_TOOL_BUTTON(item); local
214 gtk_tool_button_set_icon_widget( button, child );
217 GtkToolButton* button = GTK_TOOL_BUTTON(item); local
218 (void)button;
392 GtkToolButton* button = GTK_TOOL_BUTTON(item); local
399 gtk_tool_button_set_icon_widget(button, child);
403 gtk_tool_button_set_icon_widget( button, align );
408 gtk_tool_button_set_label( button, label );
414 GtkToolButton* button local
430 GtkToolButton* button = GTK_TOOL_BUTTON(proxies->data); local
610 GtkToolButton* button = GTK_TOOL_BUTTON(item); local
625 GtkToolButton* button = GTK_TOOL_BUTTON(item); local
[all...]
H A Dtoolbox.cpp60 #include "../widgets/button.h"
724 SPButton* button = SP_BUTTON(child->gobj()); local
725 sp_button_toggle_set_down( button, active );
/inkscape/src/libgdl/
H A Dgdl-dock-bar.c218 GtkWidget *button; local
232 button = g_object_get_data (G_OBJECT (item), "GdlDockBarButton");
233 g_assert (button != NULL);
234 gtk_container_remove (GTK_CONTAINER (dockbar), button); local
242 gdl_dock_bar_item_clicked (GtkWidget *button, argument
267 GtkWidget *button; local
285 /* Create a button for the item. */
286 button = gtk_button_new ();
287 gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
323 gtk_container_add (GTK_CONTAINER (button), bo
324 gtk_box_pack_start (GTK_BOX (dockbar), button, FALSE, FALSE, 0); local
330 g_object_set_data (G_OBJECT (item), "GdlDockBarButton", button); local
[all...]
H A Dgdl-switcher.c107 Button* button = user_data; local
111 gtk_label_set_text (GTK_LABEL (button->label), label);
120 Button* button = user_data; local
124 gtk_image_set_from_stock (GTK_IMAGE(button->icon), id, GTK_ICON_SIZE_MENU);
133 Button *button = g_new (Button, 1); local
135 button->button_widget = button_widget;
136 button->label = label;
137 button->icon = icon;
138 button->arrow = arrow;
139 button
158 button_free(Button *button) argument
197 Button *button = p->data; local
232 Button *button = p->data; local
265 Button *button; local
526 Button *button = p->data; local
557 GtkWidget *button = ((Button *) p->data)->button_widget; local
559 button, event); local
573 GtkWidget *button = ((Button *) p->data)->button_widget; local
940 Button *button = p->data; local
1012 Button *button = p->data; local
[all...]
H A Dgdl-dock-item.c117 guint button,
1146 if (!locked && event->button == 1 && event->type == GDK_BUTTON_PRESS) {
1167 } else if (!locked &&event->type == GDK_BUTTON_RELEASE && event->button == 1) {
1189 } else if (event->button == 3 && event->type == GDK_BUTTON_PRESS && in_handle) {
1190 gdl_dock_item_popup_menu (item, event->button, event->time);
1618 guint button,
1654 button, time);
1707 switch (event->button) {
1726 gdl_dock_item_popup_menu (item, event->button, event->time);
2134 * The dock item close button cause
1617 gdl_dock_item_popup_menu(GdlDockItem *item, guint button, guint32 time) argument
[all...]
/inkscape/src/ui/dialog/
H A Dtext-edit.cpp253 void TextEdit::styleButton(Gtk::RadioButton *button, gchar const *tooltip, gchar const *icon_name, Gtk::RadioButton *group_button ) argument
262 button->set_group(group);
265 button->add(*Gtk::manage(Glib::wrap(icon)));
266 button->set_tooltip_text(tooltip);
267 button->set_relief(Gtk::RELIEF_NONE);
268 button->set_mode(false);
269 button->signal_clicked().connect(sigc::mem_fun(*this, &TextEdit::onToggle));
271 layout_hbox.pack_start(*button, false, false);
H A Dsymbols.cpp198 Gtk::Button* button; local
232 button = Gtk::manage(new Gtk::Button());
233 button->add(*Gtk::manage(Glib::wrap(
235 button->set_tooltip_text(_("Display more icons in row."));
236 button->set_relief( Gtk::RELIEF_NONE );
237 button->set_focus_on_click( false );
238 button->signal_clicked().connect(sigc::mem_fun(*this, &SymbolsDialog::packmore));
239 tools->pack_start(* button, Gtk::PACK_SHRINK);
241 button = Gtk::manage(new Gtk::Button());
242 button
[all...]
H A Dinkscape-preferences.cpp287 p.set_tip( *own, _("Each tool may store its own style to apply to the newly created objects. Use the button below to set it."));
291 Gtk::Button* button = Gtk::manage( new Gtk::Button(_("Take from selection"), true)); local
296 button->set_sensitive(false);
304 button->signal_clicked().connect( sigc::bind( sigc::ptr_fun(StyleFromSelectionToTool), prefs_path, swatch) );
305 own->changed_signal.connect( sigc::mem_fun(*button, &Gtk::Button::set_sensitive) );
306 p.add_line( true, "", *button, "",
506 _("When on, the Gradient Edit button in the Fill & Stroke dialog will show the legacy Gradient Editor dialog, when off the Gradient Tool will be used"), true);
696 _win_show_close.init ( _("Show close button on dialogs"), "/dialogs/showclose", false);
765 _("Zoom drawing when document window is resized, to keep the same area visible (this is the default which can be changed in any window using the button above the right scrollbar)"));
769 _("Whether dialog windows have a close button (require
[all...]
/inkscape/src/
H A Ddevice-manager.cpp308 virtual void addButton(Glib::ustring const & id, gint button);
547 void DeviceManagerImpl::addButton(Glib::ustring const & id, gint button) argument
549 if ( button >= 0 && button < static_cast<gint>(bitVals.size()) ) {
552 gint mask = bitVals[button];
556 // Only signal if a new button was added

Completed in 65 milliseconds