summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.h
diff options
context:
space:
mode:
authorTim Janik <timj@gimp.org>1998-03-11 06:11:52 +0000
committerTim Janik <timj@src.gnome.org>1998-03-11 06:11:52 +0000
commit5724801800aee9cdda459cfd41e5a76071c128ea (patch)
treee19c2880b9058cb1878981b4c8aa434838475c6b /gtk/gtkspinbutton.h
parent309d7377e7ed7450adebac3ec42f02ebe678b927 (diff)
downloadgtk+-5724801800aee9cdda459cfd41e5a76071c128ea.tar.gz
applied gtk-hamann_jeske-980311-0.patch.gz.
Wed Mar 11 07:10:11 1998 Tim Janik <timj@gimp.org> * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980311-0.patch.gz.
Diffstat (limited to 'gtk/gtkspinbutton.h')
-rw-r--r--gtk/gtkspinbutton.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h
index b9aed002a6..710a53988b 100644
--- a/gtk/gtkspinbutton.h
+++ b/gtk/gtkspinbutton.h
@@ -1,6 +1,9 @@
/* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * GtkSpinButton widget for GTK+
+ * Copyright (C) 1998 Lars Hamann and Stefan Jeske
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
@@ -62,13 +65,13 @@ struct _GtkSpinButton
guint8 update_policy;
- guint snapped : 1;
guint in_child : 2;
guint click_child : 2;
guint button : 2;
guint need_timer : 1;
guint timer_calls : 3;
- guint digits : 7;
+ guint digits : 3;
+ guint numeric : 1;
};
struct _GtkSpinButtonClass
@@ -115,6 +118,10 @@ void
gtk_spin_button_set_update_policy (GtkSpinButton *spin_button,
GtkSpinButtonUpdatePolicy policy);
+void
+gtk_spin_button_set_numeric (GtkSpinButton *spin_button,
+ gint numeric);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */