Guitarix
midknob.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_MIDKNOB_H
4 #define _GXWMM_MIDKNOB_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/knob.h>
29 #include <gtkmm/adjustment.h>
30 
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GxMidKnob GxMidKnob;
34 typedef struct _GxMidKnobClass GxMidKnobClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36 
37 
38 namespace Gxw
39 { class MidKnob_Class; } // namespace Gxw
40 namespace Gxw {
41 
42 
43 class MidKnob: public Gxw::Knob {
44  public:
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
51 
52  virtual ~MidKnob();
53 
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 
56 private:
57  friend class MidKnob_Class;
58  static CppClassType midknob_class_;
59 
60  // noncopyable
61  MidKnob(const MidKnob&);
62  MidKnob& operator=(const MidKnob&);
63 
64 protected:
65  explicit MidKnob(const Glib::ConstructParams& construct_params);
66  explicit MidKnob(GxMidKnob* 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  GxMidKnob* gobj() { return reinterpret_cast<GxMidKnob*>(gobject_); }
80 
82  const GxMidKnob* gobj() const { return reinterpret_cast<GxMidKnob*>(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  MidKnob();
98  explicit MidKnob(Gtk::Adjustment& adjustment);
99 
100 
101 };
102 
103 } // namespace Gxw
104 
105 
106 namespace Glib
107 {
116  Gxw::MidKnob* wrap(GxMidKnob* object, bool take_copy = false);
117 } //namespace Glib
118 
119 
120 #endif /* _GXWMM_MIDKNOB_H */
static GType get_base_type() G_GNUC_CONST
Definition: midknob.cc:122
MidKnob_Class CppClassType
Definition: midknob.h:47
const GxMidKnob * gobj() const
Provides access to the underlying C GtkObject.
Definition: midknob.h:82
Gxw::MidKnob * wrap(GxMidKnob *object, bool take_copy=false)
A Glib::wrap() method for this object.
Definition: midknob.cc:44
struct _GxMidKnobClass GxMidKnobClass
Definition: midknob.h:34
GxMidKnobClass BaseClassType
Definition: midknob.h:49
Definition: knob.h:42
GxMidKnob BaseObjectType
Definition: midknob.h:48
GxMidKnob * gobj()
Provides access to the underlying C GtkObject.
Definition: midknob.h:79
Definition: bigknob.cc:51
struct _GxMidKnob GxMidKnob
Definition: midknob.h:33
virtual ~MidKnob()
Definition: midknob.cc:109
Definition: bigknob.cc:41
#define G_GNUC_CONST
Definition: wrap_init.cc:8
MidKnob CppObjectType
Definition: midknob.h:46
static GType get_type() G_GNUC_CONST
Definition: midknob.cc:116