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)",
104 gtk_entry_set_text(GTK_ENTRY(g), value);
111 "Function is not appropriate for this type of widget (%s)",
122 const char *defaultValue)
131 return gtk_entry_get_text(GTK_ENTRY(g));
137 "Function is not appropriate for this type of widget (%s)",
193 gboolean text_is_visible;
197 wParent=GWEN_Widget_Tree_GetParent(w);
203 gtk_entry_set_text(GTK_ENTRY(g), s);
204 gtk_entry_set_visibility(GTK_ENTRY(g), text_is_visible);
214 g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
219 g_signal_connect(gtk_entry_get_buffer(GTK_ENTRY(g)),
int Gtk3Gui_WLineEdit_Setup(GWEN_WIDGET *w)
#define GWEN_ERROR_INVALID
#define GTK3_DIALOG_WIDGET_REAL
#define GTK3_DIALOG_WIDGET_CONTENT
#define DBG_WARN(dbg_logger, format, args...)
static GWENHYWFAR_CB int Gtk3Gui_WLineEdit_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int defaultValue)
#define GWEN_WIDGET_FLAGS_PASSWORD
static GWENHYWFAR_CB int Gtk3Gui_WLineEdit_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, int value, GWEN_UNUSED int doSignal)
int GWEN_Dialog_EmitSignal(GWEN_DIALOG *dlg, GWEN_DIALOG_EVENTTYPE t, const char *sender)
static GWENHYWFAR_CB int Gtk3Gui_WLineEdit_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
static GWENHYWFAR_CB const char * Gtk3Gui_WLineEdit_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
static void Gtk3Gui_WLineEdit_Deleted_text_handler(GWEN_UNUSED GtkEntryBuffer *entrybuffer, GWEN_UNUSED guint arg1, GWEN_UNUSED guint arg2, gpointer data)
void Gtk3Gui_Dialog_Leave(GWEN_DIALOG *dlg, int result)
static void Gtk3Gui_WLineEdit_Inserted_text_handler(GWEN_UNUSED GtkEntryBuffer *entrybuffer, GWEN_UNUSED guint arg1, GWEN_UNUSED gchar *arg2, GWEN_UNUSED guint arg3, gpointer data)