Debian Codegraph @

gtk/gtkspinbutton.h

raw symbols SCIP
1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * GtkSpinButton widget for GTK+
5 * Copyright (C) 1998 Lars Hamann and Stefan Jeske
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 /*
22 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
23 * file for a list of people on the GTK+ Team. See the ChangeLog
24 * files for a list of changes. These files are distributed with
25 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
26 */
27
28 #pragma once
29
30
31 #if !defined (__GTK_H_INSIDE__cxx . . $ `gtk/gtk.h:27:9`!) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!)
32 #error "Only <gtk/gtk.h> can be included directly."
33 #endif
34
35 #include <gtk/gtkwidget.h>cxx . . $ `<file>/gtk/gtkwidget.h`/
36
37
38 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
39
40 #define GTK_TYPE_SPIN_BUTTONcxx . . $ `gtk/gtkspinbutton.h:40:9`! (gtk_spin_button_get_type ())
41 #define GTK_SPIN_BUTTONcxx . . $ `gtk/gtkspinbutton.h:41:9`!(obj) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`! ((obj), GTK_TYPE_SPIN_BUTTONcxx . . $ `gtk/gtkspinbutton.h:40:9`!, GtkSpinButton))
42 #define GTK_IS_SPIN_BUTTONcxx . . $ `gtk/gtkspinbutton.h:42:9`!(obj) (G_TYPE_CHECK_INSTANCE_TYPEcxx . . $ `<external>/9567554376676449156/gtype.h:541:9`! ((obj), GTK_TYPE_SPIN_BUTTONcxx . . $ `gtk/gtkspinbutton.h:40:9`!))
43
44 /**
45 * GTK_INPUT_ERROR:
46 *
47 * Constant to return from a signal handler for the ::input
48 * signal in case of conversion failure.
49 *
50 * See [[email protected]::input].
51 */
52 #define GTK_INPUT_ERRORcxx . . $ `gtk/gtkspinbutton.h:52:9`! -1
53
54 /**
55 * GtkSpinButtonUpdatePolicy:
56 * @GTK_UPDATE_ALWAYS: When refreshing your `GtkSpinButton`, the value is
57 * always displayed
58 * @GTK_UPDATE_IF_VALID: When refreshing your `GtkSpinButton`, the value is
59 * only displayed if it is valid within the bounds of the spin button's
60 * adjustment
61 *
62 * Determines whether the spin button displays values outside the adjustment
63 * bounds.
64 *
65 * See [[email protected]_update_policy].
66 */
67 typedef enumcxx . . $ $anonymous_type_a821ed5587df0ff4_0#
68 {
69 GTK_UPDATE_ALWAYScxx . . $ GTK_UPDATE_ALWAYS.,
70 GTK_UPDATE_IF_VALIDcxx . . $ GTK_UPDATE_IF_VALID.
71 } GtkSpinButtonUpdatePolicycxx . . $ GtkSpinButtonUpdatePolicy#;
72
73 /**
74 * GtkSpinType:
75 * @GTK_SPIN_STEP_FORWARD: Increment by the adjustments step increment.
76 * @GTK_SPIN_STEP_BACKWARD: Decrement by the adjustments step increment.
77 * @GTK_SPIN_PAGE_FORWARD: Increment by the adjustments page increment.
78 * @GTK_SPIN_PAGE_BACKWARD: Decrement by the adjustments page increment.
79 * @GTK_SPIN_HOME: Go to the adjustments lower bound.
80 * @GTK_SPIN_END: Go to the adjustments upper bound.
81 * @GTK_SPIN_USER_DEFINED: Change by a specified amount.
82 *
83 * The values of the GtkSpinType enumeration are used to specify the
84 * change to make in gtk_spin_button_spin().
85 */
86 typedef enumcxx . . $ $anonymous_type_a821ed5587df0ff4_1#
87 {
88 GTK_SPIN_STEP_FORWARDcxx . . $ GTK_SPIN_STEP_FORWARD.,
89 GTK_SPIN_STEP_BACKWARDcxx . . $ GTK_SPIN_STEP_BACKWARD.,
90 GTK_SPIN_PAGE_FORWARDcxx . . $ GTK_SPIN_PAGE_FORWARD.,
91 GTK_SPIN_PAGE_BACKWARDcxx . . $ GTK_SPIN_PAGE_BACKWARD.,
92 GTK_SPIN_HOMEcxx . . $ GTK_SPIN_HOME.,
93 GTK_SPIN_ENDcxx . . $ GTK_SPIN_END.,
94 GTK_SPIN_USER_DEFINEDcxx . . $ GTK_SPIN_USER_DEFINED.
95 } GtkSpinTypecxx . . $ GtkSpinType#;
96
97
98 typedef struct _GtkSpinButtoncxx . . $ _GtkSpinButton# GtkSpinButtoncxx . . $ GtkSpinButton#;
99
100 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
101 GTypecxx . . $ GType# gtk_spin_button_get_typecxx . . $ gtk_spin_button_get_type(f708dce9a8856c70). (void) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
102
103 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
104 void gtk_spin_button_configurecxx . . $ gtk_spin_button_configure(738ea3b67a0fa03a). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
105 GtkAdjustmentcxx . . $ GtkAdjustment# *adjustment,
106 double climb_rate,
107 guintcxx . . $ guint# digits);
108
109 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
110 GtkWidgetcxx . . $ GtkWidget#* gtk_spin_button_newcxx . . $ gtk_spin_button_new(9363f6587239bbb7). (GtkAdjustmentcxx . . $ GtkAdjustment# *adjustment,
111 double climb_rate,
112 guintcxx . . $ guint# digits);
113
114 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
115 GtkWidgetcxx . . $ GtkWidget#* gtk_spin_button_new_with_rangecxx . . $ gtk_spin_button_new_with_range(342092d5ae0423dc). (double min,
116 double max,
117 double step);
118
119 GDK_AVAILABLE_IN_4_14cxx . . $ `build/gdk/version/gdk-visibility.h:301:9`!
120 void gtk_spin_button_set_activates_defaultcxx . . $ gtk_spin_button_set_activates_default(37885462cedb3036). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
121 gbooleancxx . . $ gboolean# activates_default);
122
123 GDK_AVAILABLE_IN_4_14cxx . . $ `build/gdk/version/gdk-visibility.h:301:9`!
124 gbooleancxx . . $ gboolean# gtk_spin_button_get_activates_defaultcxx . . $ gtk_spin_button_get_activates_default(8674810efbd8f253). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
125
126 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
127 void gtk_spin_button_set_adjustmentcxx . . $ gtk_spin_button_set_adjustment(923ee08e2af7d2ba). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
128 GtkAdjustmentcxx . . $ GtkAdjustment# *adjustment);
129
130 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
131 GtkAdjustmentcxx . . $ GtkAdjustment#* gtk_spin_button_get_adjustmentcxx . . $ gtk_spin_button_get_adjustment(9400946100f9aa7e). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
132
133 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
134 void gtk_spin_button_set_digitscxx . . $ gtk_spin_button_set_digits(22a0439ac8bd6ed7). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
135 guintcxx . . $ guint# digits);
136 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
137 guintcxx . . $ guint# gtk_spin_button_get_digitscxx . . $ gtk_spin_button_get_digits(77154876fbea3328). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
138
139 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
140 void gtk_spin_button_set_incrementscxx . . $ gtk_spin_button_set_increments(7018aff6eeefa2ef). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
141 double step,
142 double page);
143 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
144 void gtk_spin_button_get_incrementscxx . . $ gtk_spin_button_get_increments(6be541c4846fccc5). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
145 double *step,
146 double *page);
147
148 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
149 void gtk_spin_button_set_rangecxx . . $ gtk_spin_button_set_range(7018aff6eeefa2ef). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
150 double min,
151 double max);
152 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
153 void gtk_spin_button_get_rangecxx . . $ gtk_spin_button_get_range(6be541c4846fccc5). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
154 double *min,
155 double *max);
156
157 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
158 double gtk_spin_button_get_valuecxx . . $ gtk_spin_button_get_value(674a864536d464a). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
159
160 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
161 int gtk_spin_button_get_value_as_intcxx . . $ gtk_spin_button_get_value_as_int(8674810efbd8f253). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
162
163 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
164 void gtk_spin_button_set_valuecxx . . $ gtk_spin_button_set_value(7b6706593ea2c59c). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
165 double value);
166
167 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
168 void gtk_spin_button_set_update_policycxx . . $ gtk_spin_button_set_update_policy(8d1b52d027b629ff). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
169 GtkSpinButtonUpdatePolicycxx . . $ GtkSpinButtonUpdatePolicy# policy);
170 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
171 GtkSpinButtonUpdatePolicycxx . . $ GtkSpinButtonUpdatePolicy# gtk_spin_button_get_update_policycxx . . $ gtk_spin_button_get_update_policy(7e8bb09350988f68). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
172
173 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
174 void gtk_spin_button_set_numericcxx . . $ gtk_spin_button_set_numeric(37885462cedb3036). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
175 gbooleancxx . . $ gboolean# numeric);
176 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
177 gbooleancxx . . $ gboolean# gtk_spin_button_get_numericcxx . . $ gtk_spin_button_get_numeric(8674810efbd8f253). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
178
179 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
180 void gtk_spin_button_spincxx . . $ gtk_spin_button_spin(d76acc6cac709d0a). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
181 GtkSpinTypecxx . . $ GtkSpinType# direction,
182 double increment);
183
184 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
185 void gtk_spin_button_set_wrapcxx . . $ gtk_spin_button_set_wrap(37885462cedb3036). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
186 gbooleancxx . . $ gboolean# wrap);
187 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
188 gbooleancxx . . $ gboolean# gtk_spin_button_get_wrapcxx . . $ gtk_spin_button_get_wrap(8674810efbd8f253). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
189
190 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
191 void gtk_spin_button_set_snap_to_tickscxx . . $ gtk_spin_button_set_snap_to_ticks(37885462cedb3036). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
192 gbooleancxx . . $ gboolean# snap_to_ticks);
193 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
194 gbooleancxx . . $ gboolean# gtk_spin_button_get_snap_to_tickscxx . . $ gtk_spin_button_get_snap_to_ticks(8674810efbd8f253). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
195
196 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
197 void gtk_spin_button_set_climb_ratecxx . . $ gtk_spin_button_set_climb_rate(7b6706593ea2c59c). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button,
198 double climb_rate);
199 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
200 double gtk_spin_button_get_climb_ratecxx . . $ gtk_spin_button_get_climb_rate(674a864536d464a). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
201
202 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
203 void gtk_spin_button_updatecxx . . $ gtk_spin_button_update(352bbfeb0545ba04). (GtkSpinButtoncxx . . $ GtkSpinButton# *spin_button);
204
205 G_DEFINE_AUTOPTR_CLEANUP_FUNCcxx . . $ glib_autoptr_cleanup_GtkSpinButton(96fd14c3870ada3f).(GtkSpinButton, g_object_unref)
206
207 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
208