Guitarix
selector.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GXWMM_SELECTOR_H
4 #define _GXWMM_SELECTOR_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/treemodel.h>
30 
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 typedef struct _GxSelector GxSelector;
34 typedef struct _GxSelectorClass GxSelectorClass;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36 
37 
38 namespace Gxw
39 { class Selector_Class; } // namespace Gxw
40 namespace Gxw {
41 
42 
43 class Selector: public Gxw::Regler {
44  public:
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
51 
52  virtual ~Selector();
53 
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 
56 private:
57  friend class Selector_Class;
58  static CppClassType selector_class_;
59 
60  // noncopyable
61  Selector(const Selector&);
62  Selector& operator=(const Selector&);
63 
64 protected:
65  explicit Selector(const Glib::ConstructParams& construct_params);
66  explicit Selector(GxSelector* 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  GxSelector* gobj() { return reinterpret_cast<GxSelector*>(gobject_); }
80 
82  const GxSelector* gobj() const { return reinterpret_cast<GxSelector*>(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  Selector();
98 
99  void set_model(Glib::RefPtr<Gtk::TreeModel> p1);;
100 
101  Glib::RefPtr<Gtk::TreeModel> get_model();;
102  #ifdef GLIBMM_PROPERTIES_ENABLED
103 
109  Glib::PropertyProxy< Gtk::TreeModel > property_model() ;
110 #endif //#GLIBMM_PROPERTIES_ENABLED
111 
112 #ifdef GLIBMM_PROPERTIES_ENABLED
113 
119  Glib::PropertyProxy_ReadOnly< Gtk::TreeModel > property_model() const;
120 #endif //#GLIBMM_PROPERTIES_ENABLED
121 
122 
123 };
124 
125 } // namespace Gxw
126 
127 
128 namespace Glib
129 {
138  Gxw::Selector* wrap(GxSelector* object, bool take_copy = false);
139 } //namespace Glib
140 
141 
142 #endif /* _GXWMM_SELECTOR_H */
143 
GxSelectorClass BaseClassType
Definition: selector.h:49
Selector CppObjectType
Definition: selector.h:46
static GType get_base_type() G_GNUC_CONST
Definition: selector.cc:116
Selector_Class CppClassType
Definition: selector.h:47
struct _GxSelector GxSelector
Definition: selector.h:33
virtual ~Selector()
Definition: selector.cc:103
Definition: bigknob.cc:51
GxSelector * gobj()
Provides access to the underlying C GtkObject.
Definition: selector.h:79
GxSelector BaseObjectType
Definition: selector.h:48
struct _GxSelectorClass GxSelectorClass
Definition: selector.h:34
void set_model(Glib::RefPtr< Gtk::TreeModel > p1)
Definition: selector.cc:132
Gxw::Selector * wrap(GxSelector *object, bool take_copy=false)
A Glib::wrap() method for this object.
Definition: selector.cc:38
Definition: bigknob.cc:41
static GType get_type() G_GNUC_CONST
Definition: selector.cc:110
Glib::RefPtr< Gtk::TreeModel > get_model()
Definition: selector.cc:137
#define G_GNUC_CONST
Definition: wrap_init.cc:8
const GxSelector * gobj() const
Provides access to the underlying C GtkObject.
Definition: selector.h:82