Add stuff missing from yesterday's library commit.
[ardour.git] / libs / gtkmm2 / gtk / gtkmm / cellrendererspin.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_CELLRENDERERSPIN_H
4 #define _GTKMM_CELLRENDERERSPIN_H
5
6
7 #include <glibmm.h>
8
9 /* Copyright (C) 2006 The gtkmm Development Team
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU Library General Public
22  * License along with this library; if not, write to the Free
23  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  */
25
26 #include <gtkmm/cellrenderertext.h>
27 //#include <gtkmm/treemodel.h>
28
29
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
31 typedef struct _GtkCellRendererSpin GtkCellRendererSpin;
32 typedef struct _GtkCellRendererSpinClass GtkCellRendererSpinClass;
33 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
34
35
36 namespace Gtk
37 { class CellRendererSpin_Class; } // namespace Gtk
38 namespace Gtk
39 {
40
41 /**  TODO. 
42  *
43  * @ingroup TreeView
44  */
45
46 class CellRendererSpin : public CellRendererText
47 {
48   public:
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50   typedef CellRendererSpin CppObjectType;
51   typedef CellRendererSpin_Class CppClassType;
52   typedef GtkCellRendererSpin BaseObjectType;
53   typedef GtkCellRendererSpinClass BaseClassType;
54 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
55
56   virtual ~CellRendererSpin();
57
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59
60 private:
61   friend class CellRendererSpin_Class;
62   static CppClassType cellrendererspin_class_;
63
64   // noncopyable
65   CellRendererSpin(const CellRendererSpin&);
66   CellRendererSpin& operator=(const CellRendererSpin&);
67
68 protected:
69   explicit CellRendererSpin(const Glib::ConstructParams& construct_params);
70   explicit CellRendererSpin(GtkCellRendererSpin* castitem);
71
72 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
73
74 public:
75 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76   static GType get_type()      G_GNUC_CONST;
77   static GType get_base_type() G_GNUC_CONST;
78 #endif
79
80   ///Provides access to the underlying C GtkObject.
81   GtkCellRendererSpin*       gobj()       { return reinterpret_cast<GtkCellRendererSpin*>(gobject_); }
82
83   ///Provides access to the underlying C GtkObject.
84   const GtkCellRendererSpin* gobj() const { return reinterpret_cast<GtkCellRendererSpin*>(gobject_); }
85
86
87 public:
88   //C++ methods used to invoke GTK+ virtual functions:
89 #ifdef GLIBMM_VFUNCS_ENABLED
90 #endif //GLIBMM_VFUNCS_ENABLED
91
92 protected:
93   //GTK+ Virtual Functions (override these to change behaviour):
94 #ifdef GLIBMM_VFUNCS_ENABLED
95 #endif //GLIBMM_VFUNCS_ENABLED
96
97   //Default Signal Handlers::
98 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
99 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
100
101
102 private:
103
104 public:
105
106   CellRendererSpin();
107   
108   #ifdef GLIBMM_PROPERTIES_ENABLED
109 /** The adjustment that holds the value of the spinbutton.
110    *
111    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
112    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
113    * the value of the property changes.
114    */
115   Glib::PropertyProxy<Gtk::Adjustment*> property_adjustment() ;
116 #endif //#GLIBMM_PROPERTIES_ENABLED
117
118 #ifdef GLIBMM_PROPERTIES_ENABLED
119 /** The adjustment that holds the value of the spinbutton.
120    *
121    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
122    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
123    * the value of the property changes.
124    */
125   Glib::PropertyProxy_ReadOnly<Gtk::Adjustment*> property_adjustment() const;
126 #endif //#GLIBMM_PROPERTIES_ENABLED
127
128   #ifdef GLIBMM_PROPERTIES_ENABLED
129 /** The acceleration rate when you hold down a button.
130    *
131    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
132    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
133    * the value of the property changes.
134    */
135   Glib::PropertyProxy<double> property_climb_rate() ;
136 #endif //#GLIBMM_PROPERTIES_ENABLED
137
138 #ifdef GLIBMM_PROPERTIES_ENABLED
139 /** The acceleration rate when you hold down a button.
140    *
141    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
142    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
143    * the value of the property changes.
144    */
145   Glib::PropertyProxy_ReadOnly<double> property_climb_rate() const;
146 #endif //#GLIBMM_PROPERTIES_ENABLED
147
148   #ifdef GLIBMM_PROPERTIES_ENABLED
149 /** The number of decimal places to display.
150    *
151    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
152    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
153    * the value of the property changes.
154    */
155   Glib::PropertyProxy<guint> property_digits() ;
156 #endif //#GLIBMM_PROPERTIES_ENABLED
157
158 #ifdef GLIBMM_PROPERTIES_ENABLED
159 /** The number of decimal places to display.
160    *
161    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
162    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
163    * the value of the property changes.
164    */
165   Glib::PropertyProxy_ReadOnly<guint> property_digits() const;
166 #endif //#GLIBMM_PROPERTIES_ENABLED
167
168
169 #ifdef GLIBMM_PROPERTIES_ENABLED
170   virtual Glib::PropertyProxy_Base _property_renderable(); //override
171 #endif //GLIBMM_PROPERTIES_ENABLED
172
173
174 };
175
176 } // namespace Gtk
177
178
179 namespace Glib
180 {
181   /** @relates Gtk::CellRendererSpin
182    * @param object The C instance
183    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
184    * @result A C++ instance that wraps this C instance.
185    */
186   Gtk::CellRendererSpin* wrap(GtkCellRendererSpin* object, bool take_copy = false);
187 } //namespace Glib
188
189
190 #endif /* _GTKMM_CELLRENDERERSPIN_H */
191