Added gtk_entry_set_editable()

This commit is contained in:
Elliot Lee
1998-01-07 00:04:19 +00:00
parent d2aa891c8e
commit 51a481d9e8
4 changed files with 54 additions and 7 deletions

View File

@ -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