28 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
32 gtk_widget_grab_focus(GTK_WIDGET(g));
45 "Function is not appropriate for this type of widget (%s)",
66 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
69 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
82 "Function is not appropriate for this type of widget (%s)",
116 "Function is not appropriate for this type of widget (%s)",
128 const char *defaultValue)
137 return gtk_label_get_label(g);
143 "Function is not appropriate for this type of widget (%s)",
159 wParent=GWEN_Widget_Tree_GetParent(w);
GWEN_BUFFER * GWEN_Buffer_new(char *buffer, uint32_t size, uint32_t used, int take)
void GWEN_Buffer_free(GWEN_BUFFER *bf)
char * GWEN_Buffer_GetStart(const GWEN_BUFFER *bf)
#define DBG_WARN(dbg_logger, format, args...)
@ GWEN_DialogProperty_Title
@ GWEN_DialogProperty_Height
@ GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Focus
@ GWEN_DialogProperty_Width
#define GWEN_ERROR_INVALID
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
int Gtk2Gui_WLabel_Setup(GWEN_WIDGET *w)
static GWENHYWFAR_CB int Gtk2Gui_WLabel_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk2Gui_WLabel_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk2Gui_WLabel_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int defaultValue)
static GWENHYWFAR_CB const char * Gtk2Gui_WLabel_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
#define GTK2_DIALOG_WIDGET_REAL
int Gtk2Gui_GetRawText(const char *text, GWEN_BUFFER *tbuf)
#define GTK2_DIALOG_WIDGET_CONTENT