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)",
167 gulong toggled_handler_id;
170 wParent=GWEN_Widget_Tree_GetParent(w);
175 g=gtk_check_button_new_with_mnemonic(s);
177 g=gtk_check_button_new();
187 toggled_handler_id=g_signal_connect(g,