From 85d4cd0f43c29fcca9c38282d7fa169bf775409e Mon Sep 17 00:00:00 2001 From: CET 1998 Paolo Molaro Date: Wed, 18 Mar 1998 15:41:03 +0000 Subject: checked in gtk_entry_set_max_length (it truncates the texts if it's Wed Mar 18 17:38:25 CET 1998 Paolo Molaro * gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length (it truncates the texts if it's longer, now) --- gtk/gtkentry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/gtkentry.h') 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 */ -- cgit v1.2.1