Guitarix
paintbox.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_PAINTBOX_H
4 #define _GXWMM_PAINTBOX_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 _GxPaintBox GxPaintBox;
33 typedef struct _GxPaintBoxClass GxPaintBoxClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35 
36 
37 namespace Gxw
38 { class PaintBox_Class; } // namespace Gxw
39 namespace Gxw {
40 
41 
42 class PaintBox: public Gtk::Box {
43  public:
44 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
50 
51  virtual ~PaintBox();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55 private:
56  friend class PaintBox_Class;
57  static CppClassType paintbox_class_;
58 
59  // noncopyable
60  PaintBox(const PaintBox&);
61  PaintBox& operator=(const PaintBox&);
62 
63 protected:
64  explicit PaintBox(const Glib::ConstructParams& construct_params);
65  explicit PaintBox(GxPaintBox* castitem);
66 
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68 
69 public:
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71  static GType get_type() G_GNUC_CONST;
72 
73 
74  static GType get_base_type() G_GNUC_CONST;
75 #endif
76 
78  GxPaintBox* gobj() { return reinterpret_cast<GxPaintBox*>(gobject_); }
79 
81  const GxPaintBox* gobj() const { return reinterpret_cast<GxPaintBox*>(gobject_); }
82 
83 
84 public:
85  //C++ methods used to invoke GTK+ virtual functions:
86 
87 protected:
88  //GTK+ Virtual Functions (override these to change behaviour):
89 
90  //Default Signal Handlers::
91 
92 
93 private:
94 
95  public:
96  explicit PaintBox(Gtk::Orientation orientation = Gtk::ORIENTATION_HORIZONTAL, bool homogeneous = false, int spacing = 0);
97 
98  #ifdef GLIBMM_PROPERTIES_ENABLED
99 
105  Glib::PropertyProxy< Glib::ustring > property_paint_func() ;
106 #endif //#GLIBMM_PROPERTIES_ENABLED
107 
108 #ifdef GLIBMM_PROPERTIES_ENABLED
109 
115  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_paint_func() const;
116 #endif //#GLIBMM_PROPERTIES_ENABLED
117 
118  #ifdef GLIBMM_PROPERTIES_ENABLED
119 
125  Glib::PropertyProxy< guint > property_icon_set() ;
126 #endif //#GLIBMM_PROPERTIES_ENABLED
127 
128 #ifdef GLIBMM_PROPERTIES_ENABLED
129 
135  Glib::PropertyProxy_ReadOnly< guint > property_icon_set() const;
136 #endif //#GLIBMM_PROPERTIES_ENABLED
137 
138  #ifdef GLIBMM_PROPERTIES_ENABLED
139 
145  Glib::PropertyProxy< guint > property_force_reload() ;
146 #endif //#GLIBMM_PROPERTIES_ENABLED
147 
148 #ifdef GLIBMM_PROPERTIES_ENABLED
149 
155  Glib::PropertyProxy_ReadOnly< guint > property_force_reload() const;
156 #endif //#GLIBMM_PROPERTIES_ENABLED
157 
158  void call_paint_func(GdkEventExpose * event);
159 
160 
161 };
162 
163 } // namespace Gxw
164 
165 
166 namespace Glib
167 {
176  Gxw::PaintBox* wrap(GxPaintBox* object, bool take_copy = false);
177 } //namespace Glib
178 
179 
180 #endif /* _GXWMM_PAINTBOX_H */
181 
Gxw::PaintBox * wrap(GxPaintBox *object, bool take_copy=false)
A Glib::wrap() method for this object.
Definition: paintbox.cc:38
PaintBox CppObjectType
Definition: paintbox.h:45
virtual ~PaintBox()
Definition: paintbox.cc:103
static GType get_base_type() G_GNUC_CONST
Definition: paintbox.cc:116
static GType get_type() G_GNUC_CONST
Definition: paintbox.cc:110
PaintBox_Class CppClassType
Definition: paintbox.h:46
void call_paint_func(GdkEventExpose *event)
Definition: paintbox.cc:132
const GxPaintBox * gobj() const
Provides access to the underlying C GtkObject.
Definition: paintbox.h:81
Definition: bigknob.cc:51
struct _GxPaintBoxClass GxPaintBoxClass
Definition: paintbox.h:33
GxPaintBoxClass BaseClassType
Definition: paintbox.h:48
GxPaintBox * gobj()
Provides access to the underlying C GtkObject.
Definition: paintbox.h:78
struct _GxPaintBox GxPaintBox
Definition: paintbox.h:32
GxPaintBox BaseObjectType
Definition: paintbox.h:47
Definition: bigknob.cc:41
#define G_GNUC_CONST
Definition: wrap_init.cc:8