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)",
173 wParent=GWEN_Widget_Tree_GetParent(w);
178 g=gtk_check_button_new_with_mnemonic(s);
180 g=gtk_check_button_new();
#define GWEN_ERROR_INVALID
#define GTK3_DIALOG_WIDGET_REAL
static void Gtk3Gui_WCheckBox_Toggled_handler(GWEN_UNUSED GtkButton *button, gpointer data)
#define GTK3_DIALOG_WIDGET_CONTENT
#define DBG_WARN(dbg_logger, format, args...)
static GWENHYWFAR_CB int Gtk3Gui_WCheckBox_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk3Gui_WCheckBox_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
int Gtk3Gui_WCheckBox_Setup(GWEN_WIDGET *w)
static GWENHYWFAR_CB int Gtk3Gui_WCheckBox_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int defaultValue)
void Gtk3Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)
static GWENHYWFAR_CB const char * Gtk3Gui_WCheckBox_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)