27 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
31 gtk_widget_grab_focus(GTK_WIDGET(g));
40 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g), (value==0)?FALSE:TRUE);
48 "Function is not appropriate for this type of widget (%s)",
68 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
71 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
79 return (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g))==TRUE)?1:0;
86 "Function is not appropriate for this type of widget (%s)",
106 gtk_button_set_label(g, value);
113 "Function is not appropriate for this type of widget (%s)",
124 const char *defaultValue) {
132 return gtk_button_get_label(g);
138 "Function is not appropriate for this type of widget (%s)",
168 gulong toggled_handler_id;
172 wParent=GWEN_Widget_Tree_GetParent(w);
179 g=gtk_radio_button_new_with_mnemonic(
NULL, s);
181 g=gtk_radio_button_new(
NULL);
185 while(GWEN_Widget_Tree_GetParent(wT))
186 wT=GWEN_Widget_Tree_GetParent(wT);
193 wT=GWEN_Widget_Tree_GetBelow(wT);
199 gtk_radio_button_set_group(GTK_RADIO_BUTTON(g), grp);
211 toggled_handler_id=g_signal_connect(g,