27 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
31 gtk_widget_grab_focus(GTK_WIDGET(g));
35 gtk_notebook_set_current_page(GTK_NOTEBOOK(g), value);
43 "Function is not appropriate for this type of widget (%s)",
63 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
66 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
70 return gtk_notebook_get_current_page(GTK_NOTEBOOK(g));
77 "Function is not appropriate for this type of widget (%s)",
96 "Function is not appropriate for this type of widget (%s)",
107 const char *defaultValue) {
114 "Function is not appropriate for this type of widget (%s)",
135 gtk_notebook_append_page(GTK_NOTEBOOK(g), gChild, (s && *s)?gtk_label_new(s):
NULL);
148 wParent=GWEN_Widget_Tree_GetParent(w);
150 g=gtk_notebook_new();
#define GWEN_ERROR_INVALID
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
#define DBG_WARN(dbg_logger, format, args...)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
#define GTK2_DIALOG_WIDGET_REAL
int Gtk2Gui_WTabBook_Setup(GWEN_WIDGET *w)
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
static GWENHYWFAR_CB const char * Gtk2Gui_WTabBook_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
#define GTK2_DIALOG_WIDGET_CONTENT
static GWENHYWFAR_CB int Gtk2Gui_WTabBook_AddChildGuiWidget(GWEN_WIDGET *w, GWEN_WIDGET *wChild)