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)",
176 wParent=GWEN_Widget_Tree_GetParent(w);
183 g=gtk_radio_button_new_with_mnemonic(
NULL, s);
185 g=gtk_radio_button_new(
NULL);
189 while (GWEN_Widget_Tree_GetParent(wT))
190 wT=GWEN_Widget_Tree_GetParent(wT);
197 wT=GWEN_Widget_Tree_GetBelow(wT);
203 gtk_radio_button_set_group(GTK_RADIO_BUTTON(g), grp);
#define DBG_WARN(dbg_logger, format,...)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
@ GWEN_DialogProperty_Title
@ GWEN_DialogProperty_Height
@ GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Value
@ GWEN_DialogProperty_Focus
@ GWEN_DialogProperty_Width
@ GWEN_DialogEvent_TypeActivated
@ GWEN_DialogEvent_ResultAccept
@ GWEN_DialogEvent_ResultReject
#define GWEN_ERROR_INVALID
#define GTK3_DIALOG_WIDGET_CONTENT
#define GTK3_DIALOG_WIDGET_REAL
void Gtk3Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)