27 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
31 gtk_widget_grab_focus(GTK_WIDGET(g));
44 "Function is not appropriate for this type of widget (%s)",
64 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
67 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
80 "Function is not appropriate for this type of widget (%s)",
100 gtk_entry_set_text(GTK_ENTRY(g), value);
107 "Function is not appropriate for this type of widget (%s)",
118 const char *defaultValue) {
126 return gtk_entry_get_text(GTK_ENTRY(g));
132 "Function is not appropriate for this type of widget (%s)",
185 gulong deleted_text_handler_id;
186 gulong inserted_text_handler_id;
187 gboolean text_is_visible;
191 wParent=GWEN_Widget_Tree_GetParent(w);
197 gtk_entry_set_text(GTK_ENTRY(g), s);
198 gtk_entry_set_visibility(GTK_ENTRY(g), text_is_visible);
208 deleted_text_handler_id=g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
213 inserted_text_handler_id=g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
#define GWEN_ERROR_INVALID
int Gtk2Gui_WLineEdit_Setup(GWEN_WIDGET *w)
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
#define DBG_WARN(dbg_logger, format, args...)
static void Gtk2Gui_WLineEdit_Inserted_text_handler(GtkEntryBuffer *entrybuffer, guint arg1, gchar *arg2, guint arg3, gpointer data)
#define GTK2_DIALOG_WIDGET_REAL
#define GWEN_WIDGET_FLAGS_PASSWORD
static void Gtk2Gui_WLineEdit_Deleted_text_handler(GtkEntryBuffer *entrybuffer, guint arg1, guint arg2, gpointer data)
static GWENHYWFAR_CB const char * Gtk2Gui_WLineEdit_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
#define GTK2_DIALOG_WIDGET_CONTENT
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
void Gtk2Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)
static GWENHYWFAR_CB int Gtk2Gui_WLineEdit_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)