summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-01-03 08:35:21 +0000
committerManish Singh <yosh@src.gnome.org>1998-01-03 08:35:21 +0000
commit25995faa6cf0291ac801cb3ebdc47cd8a3fe4881 (patch)
treeb10964b6bbcaa19eb6733516fada15f758558435 /gtk/gtkentry.h
parent621e1dd4c23c9d6ab2d46e595a00c6cd6af34749 (diff)
downloadgtk+-25995faa6cf0291ac801cb3ebdc47cd8a3fe4881.tar.gz
Added Gordon Matzigkeit's patch for fixed length gtk entry fields
-Yosh
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index c4395fba35..a1f6c77d45 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -45,6 +45,7 @@ struct _GtkEntry
guint16 text_size;
guint16 text_length;
+ guint16 text_max_length;
gint16 current_pos;
gint16 selection_start_pos;
gint16 selection_end_pos;
@@ -76,6 +77,7 @@ struct _GtkEntryClass
guint gtk_entry_get_type (void);
GtkWidget* gtk_entry_new (void);
+GtkWidget* gtk_entry_new_with_max_length (guint16 max);
void gtk_entry_set_text (GtkEntry *entry,
const gchar *text);
void gtk_entry_append_text (GtkEntry *entry,