28 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
32 gtk_widget_grab_focus(GTK_WIDGET(g));
36 gtk_notebook_set_current_page(GTK_NOTEBOOK(g), value);
44 "Function is not appropriate for this type of widget (%s)",
65 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
68 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
72 return gtk_notebook_get_current_page(GTK_NOTEBOOK(g));
79 "Function is not appropriate for this type of widget (%s)",
99 "Function is not appropriate for this type of widget (%s)",
110 const char *defaultValue)
118 "Function is not appropriate for this type of widget (%s)",
140 gtk_notebook_append_page(GTK_NOTEBOOK(g), gChild, (s && *s)?gtk_label_new(s):
NULL);
154 wParent=GWEN_Widget_Tree_GetParent(w);
156 g=gtk_notebook_new();
#define DBG_WARN(dbg_logger, format, args...)
@ GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Value
@ GWEN_DialogProperty_Focus
#define GWEN_ERROR_INVALID
int Gtk2Gui_WTabBook_Setup(GWEN_WIDGET *w)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int defaultValue)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_SetCharProperty(GWEN_WIDGET *w, GWEN_UNUSED GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, GWEN_UNUSED const char *value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_AddChildGuiWidget(GWEN_WIDGET *w, GWEN_WIDGET *wChild)
static GWENHYWFAR_CB const char * Gtk2Gui_WTabBook_GetCharProperty(GWEN_WIDGET *w, GWEN_UNUSED GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
#define GTK2_DIALOG_WIDGET_REAL
#define GTK2_DIALOG_WIDGET_CONTENT