Guitarix
wheel.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_WHEEL_H
4 #define _GXWMM_WHEEL_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /*
11  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26  */
27 
28 #include <gxwmm/regler.h>
29 #include <gtkmm/adjustment.h>
30 
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GxWheel GxWheel;
34 typedef struct _GxWheelClass GxWheelClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36 
37 
38 namespace Gxw
39 { class Wheel_Class; } // namespace Gxw
40 namespace Gxw {
41 
42 
43 class Wheel: public Gxw::Regler {
44  public:
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
51 
52  virtual ~Wheel();
53 
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 
56 private:
57  friend class Wheel_Class;
58  static CppClassType wheel_class_;
59 
60  // noncopyable
61  Wheel(const Wheel&);
62  Wheel& operator=(const Wheel&);
63 
64 protected:
65  explicit Wheel(const Glib::ConstructParams& construct_params);
66  explicit Wheel(GxWheel* castitem);
67 
68 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
69 
70 public:
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72  static GType get_type() G_GNUC_CONST;
73 
74 
75  static GType get_base_type() G_GNUC_CONST;
76 #endif
77 
79  GxWheel* gobj() { return reinterpret_cast<GxWheel*>(gobject_); }
80 
82  const GxWheel* gobj() const { return reinterpret_cast<GxWheel*>(gobject_); }
83 
84 
85 public:
86  //C++ methods used to invoke GTK+ virtual functions:
87 
88 protected:
89  //GTK+ Virtual Functions (override these to change behaviour):
90 
91  //Default Signal Handlers::
92 
93 
94 private:
95 
96  public:
97  Wheel();
98  explicit Wheel(Gtk::Adjustment& adjustment);
99 
100 
101 };
102 
103 } // namespace Gxw
104 
105 
106 namespace Glib
107 {
116  Gxw::Wheel* wrap(GxWheel* object, bool take_copy = false);
117 } //namespace Glib
118 
119 
120 #endif /* _GXWMM_WHEEL_H */
121 
Glib
Definition: bigknob.cc:41
Gxw::Wheel_Class
Definition: wrap_init.cc:111
Gxw::ControlParameter::CppClassType
ControlParameter_Class CppClassType
Definition: controlparameter.h:55
Gxw::Wheel::get_type
static GType get_type() G_GNUC_CONST
Definition: wheel.cc:116
Gxw::Wheel::Wheel
Wheel()
Definition: wheel.cc:128
GxWheel
struct _GxWheel GxWheel
Definition: wheel.h:33
Gxw::Wheel::CppClassType
Wheel_Class CppClassType
Definition: wheel.h:47
Gxw
Definition: bigknob.cc:51
Gxw::Wheel::CppObjectType
Wheel CppObjectType
Definition: wheel.h:46
Glib::wrap
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
Gxw::Wheel::get_base_type
static GType get_base_type() G_GNUC_CONST
Definition: wheel.cc:122
GxWheelClass
struct _GxWheelClass GxWheelClass
Definition: wheel.h:34
Gxw::Wheel::BaseClassType
GxWheelClass BaseClassType
Definition: wheel.h:49
Gxw::Wheel::gobj
const GxWheel * gobj() const
Provides access to the underlying C GtkObject.
Definition: wheel.h:82
Gxw::Regler
Definition: regler.h:45
G_GNUC_CONST
#define G_GNUC_CONST
Definition: wrap_init.cc:8
Gxw::Wheel
Definition: wheel.h:43
Gxw::Wheel::~Wheel
virtual ~Wheel()
Definition: wheel.cc:109
Gxw::Wheel::gobj
GxWheel * gobj()
Provides access to the underlying C GtkObject.
Definition: wheel.h:79
Gxw::Wheel::BaseObjectType
GxWheel BaseObjectType
Definition: wheel.h:48