Guitarix
meterscale.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_METERSCALE_H
4 #define _GXWMM_METERSCALE_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 <gtkmm/box.h>
29 
30 
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GxMeterScale GxMeterScale;
33 typedef struct _GxMeterScaleClass GxMeterScaleClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class MeterScale_Class; } // namespace Gxw
39 namespace Gxw {
40 
47 {
52 };
53 
54 } // namespace Gxw
55 
56 
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
58 namespace Glib
59 {
60 
61 template <>
62 class Value<Gxw::TickPosition> : public Glib::Value_Enum<Gxw::TickPosition>
63 {
64 public:
65  static GType value_type() G_GNUC_CONST;
66 };
67 
68 } // namespace Glib
69 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
70 
71 
72 namespace Gxw
73 {
74 
75 
76 class MeterScale: public Gtk::Widget {
77  public:
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
83 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84 
85  virtual ~MeterScale();
86 
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88 
89 private:
90  friend class MeterScale_Class;
91  static CppClassType meterscale_class_;
92 
93  // noncopyable
94  MeterScale(const MeterScale&);
95  MeterScale& operator=(const MeterScale&);
96 
97 protected:
98  explicit MeterScale(const Glib::ConstructParams& construct_params);
99  explicit MeterScale(GxMeterScale* castitem);
100 
101 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
102 
103 public:
104 #ifndef DOXYGEN_SHOULD_SKIP_THIS
105  static GType get_type() G_GNUC_CONST;
106 
107 
108  static GType get_base_type() G_GNUC_CONST;
109 #endif
110 
112  GxMeterScale* gobj() { return reinterpret_cast<GxMeterScale*>(gobject_); }
113 
115  const GxMeterScale* gobj() const { return reinterpret_cast<GxMeterScale*>(gobject_); }
116 
117 
118 public:
119  //C++ methods used to invoke GTK+ virtual functions:
120 
121 protected:
122  //GTK+ Virtual Functions (override these to change behaviour):
123 
124  //Default Signal Handlers::
125 
126 
127 private:
128 
129  public:
130  MeterScale();
131 
132  void add_mark(double p1, const Glib::ustring& p2);
133 
134  void clear_marks();
135  #ifdef GLIBMM_PROPERTIES_ENABLED
136 
142  Glib::PropertyProxy< TickPosition > property_tick_pos() ;
143 #endif //#GLIBMM_PROPERTIES_ENABLED
144 
145 #ifdef GLIBMM_PROPERTIES_ENABLED
146 
152  Glib::PropertyProxy_ReadOnly< TickPosition > property_tick_pos() const;
153 #endif //#GLIBMM_PROPERTIES_ENABLED
154 
155 
156 };
157 
158 } // namespace Gxw
159 
160 
161 namespace Glib
162 {
171  Gxw::MeterScale* wrap(GxMeterScale* object, bool take_copy = false);
172 } //namespace Glib
173 
174 
175 #endif /* _GXWMM_METERSCALE_H */
176 
GxMeterScaleClass BaseClassType
Definition: meterscale.h:82
GxMeterScale * gobj()
Provides access to the underlying C GtkObject.
Definition: meterscale.h:112
TickPosition
Definition: meterscale.h:46
GxMeterScale BaseObjectType
Definition: meterscale.h:81
MeterScale_Class CppClassType
Definition: meterscale.h:80
const GxMeterScale * gobj() const
Provides access to the underlying C GtkObject.
Definition: meterscale.h:115
Definition: bigknob.cc:51
struct _GxMeterScaleClass GxMeterScaleClass
Definition: meterscale.h:33
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Definition: bigknob.cc:44
Definition: bigknob.cc:41
struct _GxMeterScale GxMeterScale
Definition: meterscale.h:32
#define G_GNUC_CONST
Definition: wrap_init.cc:8
MeterScale CppObjectType
Definition: meterscale.h:79