28 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
32 gtk_widget_grab_focus(GTK_WIDGET(g));
41 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g), (value==0)?FALSE:TRUE);
49 "Function is not appropriate for this type of widget (%s)",
70 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
73 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
81 return (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g))==TRUE)?1:0;
88 "Function is not appropriate for this type of widget (%s)",
109 gtk_button_set_label(g, value);
116 "Function is not appropriate for this type of widget (%s)",
127 const char *defaultValue)
136 return gtk_button_get_label(g);
142 "Function is not appropriate for this type of widget (%s)",
178 wParent=GWEN_Widget_Tree_GetParent(w);
185 g=gtk_radio_button_new_with_mnemonic(
NULL, s);
187 g=gtk_radio_button_new(
NULL);
191 while (GWEN_Widget_Tree_GetParent(wT))
192 wT=GWEN_Widget_Tree_GetParent(wT);
199 wT=GWEN_Widget_Tree_GetBelow(wT);
205 gtk_radio_button_set_group(GTK_RADIO_BUTTON(g), grp);
#define GWEN_ERROR_INVALID
#define DBG_WARN(dbg_logger, format, args...)
#define GTK2_DIALOG_WIDGET_REAL
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
#define GTK2_DIALOG_WIDGET_CONTENT
void Gtk2Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)