Lines Matching defs:button

107     Button* button = user_data;
111 gtk_label_set_text (GTK_LABEL (button->label), label);
120 Button* button = user_data;
124 gtk_image_set_from_stock (GTK_IMAGE(button->icon), id, GTK_ICON_SIZE_MENU);
133 Button *button = g_new (Button, 1);
135 button->button_widget = button_widget;
136 button->label = label;
137 button->icon = icon;
138 button->arrow = arrow;
139 button->hbox = hbox;
140 button->id = id;
141 button->page = page;
144 button);
146 button);
154 return button;
158 button_free (Button *button)
160 g_signal_handlers_disconnect_by_func (button->page,
162 button);
163 g_signal_handlers_disconnect_by_func (button->page,
165 button);
167 g_object_unref (button->button_widget);
168 g_object_unref (button->label);
169 g_object_unref (button->icon);
170 g_object_unref (button->hbox);
171 g_free (button);
197 Button *button = p->data;
199 if (button->id == new_selected_id) {
201 (button->button_widget), TRUE);
202 gtk_widget_set_sensitive (button->arrow, TRUE);
205 (button->button_widget), FALSE);
206 gtk_widget_set_sensitive (button->arrow, FALSE);
232 Button *button = p->data;
234 if (button->button_widget != GTK_WIDGET (toggle_button)) {
236 (button->button_widget), FALSE);
237 gtk_widget_set_sensitive (button->arrow, FALSE);
240 (button->button_widget), TRUE);
241 gtk_widget_set_sensitive (button->arrow, TRUE);
242 id = button->id;
265 Button *button;
294 button = p->data;
295 gtk_widget_size_request (GTK_WIDGET (button->button_widget),
315 * the odd row to have just a single button.
329 button = switcher->priv->buttons->data;
330 rows [0] = g_slist_append (rows [0], button->button_widget);
340 button = p->data;
346 button->button_widget);
526 Button *button = p->data;
529 gtk_widget_size_request (button->button_widget, &button_requisition);
557 GtkWidget *button = ((Button *) p->data)->button_widget;
559 button, event);
573 GtkWidget *button = ((Button *) p->data)->button_widget;
574 gtk_widget_map (button);
664 /* Change switcher button */
743 gtk_rc_parse_string ("style \"gdl-button-style\"\n"
750 "widget \"*.gdl-button\" style \"gdl-button-style\"");
800 gtk_widget_set_name (button_widget, "gdl-button");
870 Button *button = p->data;
872 if (button->id == switcher_id)
875 button->button_widget);
888 /* Select the notebook page associated with this button */
940 Button *button = p->data;
942 gtk_container_remove (GTK_CONTAINER (button->hbox), button->arrow);
944 if (gtk_widget_get_parent (button->icon))
945 gtk_container_remove (GTK_CONTAINER (button->hbox), button->icon);
946 if (gtk_widget_get_parent (button->label))
947 gtk_container_remove (GTK_CONTAINER (button->hbox), button->label);
951 gtk_box_pack_start (GTK_BOX (button->hbox), button->label,
953 gtk_widget_show (button->label);
957 gtk_box_pack_start (GTK_BOX (button->hbox), button->icon,
959 gtk_widget_show (button->icon);
963 gtk_box_pack_start (GTK_BOX (button->hbox), button->icon,
965 gtk_box_pack_start (GTK_BOX (button->hbox), button->label,
967 gtk_widget_show (button->icon);
968 gtk_widget_show (button->label);
975 gtk_box_pack_start (GTK_BOX (button->hbox), button->arrow,
1012 Button *button = p->data;
1015 gtk_widget_show (button->button_widget);
1017 gtk_widget_hide (button->button_widget);