diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-01-07 00:04:19 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-01-07 00:04:19 +0000 |
commit | 51a481d9e8ca4d57c69074d8e28a2c980a298e4b (patch) | |
tree | 1df9ffb696d5498bd9429ac5dfa5bd0ddf637e3d /gtk/gtkentry.h | |
parent | d2aa891c8ecb23b4496d44f6ceec17bf2646d483 (diff) | |
download | gtk+-51a481d9e8ca4d57c69074d8e28a2c980a298e4b.tar.gz |
Added gtk_entry_set_editable()
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index e1e4bc0679..aa17365386 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -52,6 +52,7 @@ struct _GtkEntry gint16 scroll_offset; guint have_selection : 1; guint visible : 1; + guint editable : 1; guint32 timer; GdkIC ic; @@ -74,7 +75,6 @@ struct _GtkEntryClass void (* activate) (GtkEntry *entry); }; - guint gtk_entry_get_type (void); GtkWidget* gtk_entry_new (void); GtkWidget* gtk_entry_new_with_max_length (guint16 max); @@ -91,7 +91,9 @@ void gtk_entry_select_region (GtkEntry *entry, gint start, gint end); void gtk_entry_set_visibility (GtkEntry *entry, - gint visible); + gboolean visible); +void gtk_entry_set_editable (GtkEntry *entry, + gboolean editable); #ifdef __cplusplus |