Details
struct GnomeEntryPrivate
struct GnomeEntryPrivate; |
gnome_entry_new ()
GtkWidget* gnome_entry_new (const gchar *history_id); |
Creates a new GnomeEntry widget. If history_id is
not NULL, then the history list will be saved and restored between
uses under the given id.
gnome_entry_construct ()
void gnome_entry_construct (GnomeEntry *gentry,
const gchar *history_id); |
gnome_entry_gtk_entry ()
GtkWidget* gnome_entry_gtk_entry (GnomeEntry *gentry); |
Obtain pointer to GnomeEntry's internal text entry
gnome_entry_get_history_id ()
const gchar* gnome_entry_get_history_id (GnomeEntry *gentry); |
Returns the current history id of the GnomeEntry widget.
gnome_entry_set_history_id ()
void gnome_entry_set_history_id (GnomeEntry *gentry,
const gchar *history_id); |
gnome_entry_set_max_saved ()
void gnome_entry_set_max_saved (GnomeEntry *gentry,
guint max_saved); |
Set internal limit on number of history items saved
to the config file, when #gnome_entry_save_history() is called.
Zero is an acceptable value for max_saved, but the same thing is
accomplished by setting the history id of gentry to NULL.
gnome_entry_get_max_saved ()
guint gnome_entry_get_max_saved (GnomeEntry *gentry); |
Get internal limit on number of history items saved
to the config file, when #gnome_entry_save_history() is called.
See #gnome_entry_set_max_saved().
gnome_entry_prepend_history ()
void gnome_entry_prepend_history (GnomeEntry *gentry,
gboolean save,
const gchar *text); |
Adds a history item of the given text to the head of
the history list inside gentry. If save is TRUE, the history
item will be saved in the config file (assuming that gentry's
history id is not NULL).
gnome_entry_append_history ()
void gnome_entry_append_history (GnomeEntry *gentry,
gboolean save,
const gchar *text); |
Adds a history item of the given text to the tail
of the history list inside gentry. If save is TRUE, the
history item will be saved in the config file (assuming that
gentry's history id is not NULL).
gnome_entry_clear_history ()
void gnome_entry_clear_history (GnomeEntry *gentry); |
Clears the history, you should call gnome_entry_save_history
To make the change permanent.