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)",
103 gtk_entry_set_text(GTK_ENTRY(g), value);
110 "Function is not appropriate for this type of widget (%s)",
121 const char *defaultValue)
130 return gtk_entry_get_text(GTK_ENTRY(g));
136 "Function is not appropriate for this type of widget (%s)",
194 gboolean text_is_visible;
198 wParent=GWEN_Widget_Tree_GetParent(w);
204 gtk_entry_set_text(GTK_ENTRY(g), s);
205 gtk_entry_set_visibility(GTK_ENTRY(g), text_is_visible);
215 g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
220 g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int value, GWEN_UNUSED int doSignal)
#define GWEN_ERROR_INVALID
int Gtk2Gui_WLineEdit_Setup(GWEN_WIDGET *w)
#define DBG_WARN(dbg_logger, format, args...)
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int defaultValue)
#define GTK2_DIALOG_WIDGET_REAL
#define GWEN_WIDGET_FLAGS_PASSWORD
static void Gtk2Gui_WLineEdit_Deleted_text_handler(GWEN_UNUSED GtkEntryBuffer *entrybuffer, GWEN_UNUSED guint arg1, GWEN_UNUSED guint arg2, gpointer data)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
#define GTK2_DIALOG_WIDGET_CONTENT
static GWENHYWFAR_CB const char * Gtk2Gui_WLineEdit_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
void Gtk2Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)
static void Gtk2Gui_WLineEdit_Inserted_text_handler(GWEN_UNUSED GtkEntryBuffer *entrybuffer, GWEN_UNUSED guint arg1, GWEN_UNUSED gchar *arg2, GWEN_UNUSED guint arg3, gpointer data)