summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-05-06 17:05:58 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-07-19 21:27:12 -0400
commit9ab43dfe9e58b669fed76483aa7ecde51655c37c (patch)
tree797314a4a75c8d78bccc4a26af6c139784d085cd /gtk/gtkspinbutton.h
parent6aa9ca7b55fff6202a7f186c8c2d165504c2afe0 (diff)
downloadgtk+-9ab43dfe9e58b669fed76483aa7ecde51655c37c.tar.gz
spinbutton: Add accessors for (max-)width-chars
Diffstat (limited to 'gtk/gtkspinbutton.h')
-rw-r--r--gtk/gtkspinbutton.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h
index 5dc3b7cd0e..b811b5f9a1 100644
--- a/gtk/gtkspinbutton.h
+++ b/gtk/gtkspinbutton.h
@@ -232,6 +232,18 @@ const char * gtk_spin_button_get_text (GtkSpinButton *spin_button);
GDK_AVAILABLE_IN_3_92
void gtk_spin_button_set_text (GtkSpinButton *spin_button,
const char *text);
+GDK_AVAILABLE_IN_3_92
+int gtk_spin_button_get_max_width_chars (GtkSpinButton *spin_button);
+GDK_AVAILABLE_IN_3_92
+void gtk_spin_button_set_max_width_chars (GtkSpinButton *spin_button,
+ int max_width_chars);
+GDK_AVAILABLE_IN_3_92
+int gtk_spin_button_get_width_chars (GtkSpinButton *spin_button);
+GDK_AVAILABLE_IN_3_92
+void gtk_spin_button_set_width_chars (GtkSpinButton *spin_button,
+ int width_chars);
+
+
G_END_DECLS