diff options
author | CET 1998 Paolo Molaro <lupus@debian.org> | 1998-03-18 15:41:03 +0000 |
---|---|---|
committer | Paolo Molaro <lupus@src.gnome.org> | 1998-03-18 15:41:03 +0000 |
commit | 85d4cd0f43c29fcca9c38282d7fa169bf775409e (patch) | |
tree | afbf51788e5fc730ad5f624bf3ff62a024f161c5 /gtk/gtkentry.h | |
parent | e648c2d68fac18e27b06783f3c2aaea3f52b3c82 (diff) | |
download | gtk+-85d4cd0f43c29fcca9c38282d7fa169bf775409e.tar.gz |
checked in gtk_entry_set_max_length (it truncates the texts if it's
Wed Mar 18 17:38:25 CET 1998 Paolo Molaro <lupus@debian.org>
* gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length
(it truncates the texts if it's longer, now)
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 3193d920d9..e624def9db 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -78,7 +78,9 @@ void gtk_entry_set_visibility (GtkEntry *entry, gboolean visible); void gtk_entry_set_editable (GtkEntry *entry, gboolean editable); - +/* text is truncated if needed */ +void gtk_entry_set_max_length (GtkEntry *entry, + guint16 max); #ifdef __cplusplus } #endif /* __cplusplus */ |