Home | History | Annotate | Download | only in gtk

Lines Matching refs:button

88 // and every time. Therefore, we can't just fish out the label from the button
90 // listens on the button's "notify" signal, which is emitted right after the
93 GtkButton* button = GTK_BUTTON(object);
94 gtk_widget_set_sensitive(GTK_BIN(button)->child, FALSE);
95 gtk_misc_set_padding(GTK_MISC(GTK_BIN(button)->child), 2, 0);
147 g_signal_new("button-pushed",
155 g_signal_new("try-button-pushed",
191 // current button may be that button.
218 &current_button->allocation, hbox, "button",
221 // Propagate to the button's children.
244 // buttons. Otherwise, the vlines are overwritten by the next button.
248 // Check to see if this is the last button in a run.
258 &event->area, widget, "button",
268 // artifacts inside the button area.
282 // previous selections. Actual selection of a button is done either in the
330 GtkWidget* button = gtk_button_new();
331 g_object_set_data(G_OBJECT(button), "command-id",
333 gtk_box_pack_start(GTK_BOX(menu_item->hbox), button, FALSE, FALSE, 0);
334 gtk_widget_show(button);
336 menu_item->all_widgets = g_list_append(menu_item->all_widgets, button);
337 menu_item->button_widgets = g_list_append(menu_item->button_widgets, button);
339 return button;
344 GtkWidget* button = gtk_button_new_with_label("");
345 g_object_set_data(G_OBJECT(button), "command-id",
347 gtk_box_pack_start(GTK_BOX(menu_item->hbox), button, FALSE, FALSE, 0);
348 g_signal_connect(button, "notify::label",
350 gtk_widget_show(button);
352 menu_item->all_widgets = g_list_append(menu_item->all_widgets, button);
354 return button;
473 // equivalent to |button_widgets| because we also want the button-labels.