diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-10 23:25:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-11 17:54:25 -0500 |
commit | cf4a41a856b56bcab6edaaf0e0a4f17ed5853525 (patch) | |
tree | 442779f664c23e6e0c973dcdc1d9ba1ae7fe3cc3 /gtk/gtkentry.h | |
parent | b8a326ee16523dd496b0b7b009eafc597d77f395 (diff) | |
download | gtk+-cf4a41a856b56bcab6edaaf0e0a4f17ed5853525.tar.gz |
Add GtkEntry:max-width-chars
This property allows specifying a natural width of
the entry that is bigger than the minimum width.
https://bugzilla.gnome.org/show_bug.cgi?id=724094
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 5bb79d2300..ce3c021eca 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -197,6 +197,12 @@ void gtk_entry_set_width_chars (GtkEntry *entry, GDK_AVAILABLE_IN_ALL gint gtk_entry_get_width_chars (GtkEntry *entry); +GDK_AVAILABLE_IN_3_12 +void gtk_entry_set_max_width_chars (GtkEntry *entry, + gint n_chars); +GDK_AVAILABLE_IN_3_12 +gint gtk_entry_get_max_width_chars (GtkEntry *entry); + /* Somewhat more convenient than the GtkEditable generic functions */ GDK_AVAILABLE_IN_ALL |