Ardour  9.0-pre0-582-g084a23a80d
scrollbar.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_SCROLLBAR_H
4 #define _GTKMM_SCROLLBAR_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: scrollbar.hg,v 1.1 2003/01/21 13:40:36 murrayc Exp $ */
11 
12 /* scrollbar.h
13  *
14  * Copyright (C) 1998-2002 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <gtkmm/range.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkScrollbar GtkScrollbar;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class Scrollbar_Class; } // namespace Gtk
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 typedef struct _GtkVScrollbar GtkVScrollbar;
45 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
46 
47 
48 namespace Gtk
49 { class VScrollbar_Class; } // namespace Gtk
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
51 typedef struct _GtkHScrollbar GtkHScrollbar;
53 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
54 
55 
56 namespace Gtk
57 { class HScrollbar_Class; } // namespace Gtk
58 namespace Gtk
59 {
60 
61 //TODO: Inherit/Implement Orientation when we can break ABI.
62 
79 class Scrollbar : public Range
80 {
81  public:
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
83  typedef Scrollbar CppObjectType;
84  typedef Scrollbar_Class CppClassType;
85  typedef GtkScrollbar BaseObjectType;
86  typedef GtkScrollbarClass BaseClassType;
87 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
88 
89  virtual ~Scrollbar();
90 
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92 
93 private:
94  friend class Scrollbar_Class;
95  static CppClassType scrollbar_class_;
96 
97  // noncopyable
98  Scrollbar(const Scrollbar&);
99  Scrollbar& operator=(const Scrollbar&);
100 
101 protected:
102  explicit Scrollbar(const Glib::ConstructParams& construct_params);
103  explicit Scrollbar(GtkScrollbar* castitem);
104 
105 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
106 
107 public:
108 #ifndef DOXYGEN_SHOULD_SKIP_THIS
109  static GType get_type() G_GNUC_CONST;
110 
111 
112  static GType get_base_type() G_GNUC_CONST;
113 #endif
114 
116  GtkScrollbar* gobj() { return reinterpret_cast<GtkScrollbar*>(gobject_); }
117 
119  const GtkScrollbar* gobj() const { return reinterpret_cast<GtkScrollbar*>(gobject_); }
120 
121 
122 public:
123  //C++ methods used to invoke GTK+ virtual functions:
124 
125 protected:
126  //GTK+ Virtual Functions (override these to change behaviour):
127 
128  //Default Signal Handlers::
129 
130 
131 private:
132 
133 
134 protected:
135 
136 
137 };
138 
151 class VScrollbar : public Scrollbar
152 {
153  public:
154 #ifndef DOXYGEN_SHOULD_SKIP_THIS
155  typedef VScrollbar CppObjectType;
156  typedef VScrollbar_Class CppClassType;
157  typedef GtkVScrollbar BaseObjectType;
158  typedef GtkVScrollbarClass BaseClassType;
159 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
160 
161  virtual ~VScrollbar();
162 
163 #ifndef DOXYGEN_SHOULD_SKIP_THIS
164 
165 private:
166  friend class VScrollbar_Class;
167  static CppClassType vscrollbar_class_;
168 
169  // noncopyable
170  VScrollbar(const VScrollbar&);
171  VScrollbar& operator=(const VScrollbar&);
172 
173 protected:
174  explicit VScrollbar(const Glib::ConstructParams& construct_params);
175  explicit VScrollbar(GtkVScrollbar* castitem);
176 
177 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
178 
179 public:
180 #ifndef DOXYGEN_SHOULD_SKIP_THIS
181  static GType get_type() G_GNUC_CONST;
182 
183 
184  static GType get_base_type() G_GNUC_CONST;
185 #endif
186 
188  GtkVScrollbar* gobj() { return reinterpret_cast<GtkVScrollbar*>(gobject_); }
189 
191  const GtkVScrollbar* gobj() const { return reinterpret_cast<GtkVScrollbar*>(gobject_); }
192 
193 
194 public:
195  //C++ methods used to invoke GTK+ virtual functions:
196 
197 protected:
198  //GTK+ Virtual Functions (override these to change behaviour):
199 
200  //Default Signal Handlers::
201 
202 
203 private:
204 
205 public:
207  explicit VScrollbar(Adjustment& gtkadjustment);
208 
209 
210 };
211 
224 class HScrollbar : public Scrollbar
225 {
226  public:
227 #ifndef DOXYGEN_SHOULD_SKIP_THIS
228  typedef HScrollbar CppObjectType;
229  typedef HScrollbar_Class CppClassType;
230  typedef GtkHScrollbar BaseObjectType;
231  typedef GtkHScrollbarClass BaseClassType;
232 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
233 
234  virtual ~HScrollbar();
235 
236 #ifndef DOXYGEN_SHOULD_SKIP_THIS
237 
238 private:
239  friend class HScrollbar_Class;
240  static CppClassType hscrollbar_class_;
241 
242  // noncopyable
243  HScrollbar(const HScrollbar&);
244  HScrollbar& operator=(const HScrollbar&);
245 
246 protected:
247  explicit HScrollbar(const Glib::ConstructParams& construct_params);
248  explicit HScrollbar(GtkHScrollbar* castitem);
249 
250 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
251 
252 public:
253 #ifndef DOXYGEN_SHOULD_SKIP_THIS
254  static GType get_type() G_GNUC_CONST;
255 
256 
257  static GType get_base_type() G_GNUC_CONST;
258 #endif
259 
261  GtkHScrollbar* gobj() { return reinterpret_cast<GtkHScrollbar*>(gobject_); }
262 
264  const GtkHScrollbar* gobj() const { return reinterpret_cast<GtkHScrollbar*>(gobject_); }
265 
266 
267 public:
268  //C++ methods used to invoke GTK+ virtual functions:
269 
270 protected:
271  //GTK+ Virtual Functions (override these to change behaviour):
272 
273  //Default Signal Handlers::
274 
275 
276 private:
277 
278 public:
280  explicit HScrollbar(Adjustment& gtkadjustment);
281 
282 
283 };
284 
285 
286 } /* namespace Gtk */
287 
288 
289 namespace Glib
290 {
299  Gtk::Scrollbar* wrap(GtkScrollbar* object, bool take_copy = false);
300 } //namespace Glib
301 
302 
303 namespace Glib
304 {
313  Gtk::VScrollbar* wrap(GtkVScrollbar* object, bool take_copy = false);
314 } //namespace Glib
315 
316 
317 namespace Glib
318 {
327  Gtk::HScrollbar* wrap(GtkHScrollbar* object, bool take_copy = false);
328 } //namespace Glib
329 
330 
331 #endif /* _GTKMM_SCROLLBAR_H */
332 
Gtk::HScrollbar * wrap(GtkHScrollbar *object, bool take_copy=false)
HScrollbar(Adjustment &gtkadjustment)
virtual ~HScrollbar()
const GtkHScrollbar * gobj() const
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:264
GtkHScrollbar * gobj()
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:261
Gtk::Scrollbar * wrap(GtkScrollbar *object, bool take_copy=false)
GtkScrollbar * gobj()
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:116
virtual ~Scrollbar()
const GtkScrollbar * gobj() const
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:119
Gtk::VScrollbar * wrap(GtkVScrollbar *object, bool take_copy=false)
GtkVScrollbar * gobj()
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:188
const GtkVScrollbar * gobj() const
Provides access to the underlying C GtkObject.
Definition: scrollbar.h:191
VScrollbar(Adjustment &gtkadjustment)
virtual ~VScrollbar()
Definition: ardour_ui.h:188