Ardour  9.0-pre0-582-g084a23a80d
orientable.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_ORIENTABLE_H
4 #define _GTKMM_ORIENTABLE_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: orientable.hg,v 1.3 2006/05/18 17:53:15 murrayc Exp $ */
11 
12 /* Copyright (C) 2009 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 #include <glibmm/interface.h>
30 #include <gtkmm/enums.h>
31 
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 extern "C"
35 {
37 }
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 typedef struct _GtkOrientable GtkOrientable;
43 typedef struct _GtkOrientableClass GtkOrientableClass;
44 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
45 
46 
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48 namespace Gtk
49 { class Orientable_Class; } // namespace Gtk
50 #endif // DOXYGEN_SHOULD_SKIP_THIS
51 
52 namespace Gtk
53 {
54 
62 class Orientable : public Glib::Interface
63 {
64 
65 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 
67 public:
68  typedef Orientable CppObjectType;
69  typedef Orientable_Class CppClassType;
70  typedef GtkOrientable BaseObjectType;
71  typedef GtkOrientableIface BaseClassType;
72 
73 private:
74  friend class Orientable_Class;
75  static CppClassType orientable_class_;
76 
77  // noncopyable
78  Orientable(const Orientable&);
79  Orientable& operator=(const Orientable&);
80 
81 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
82 protected:
87 
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95  explicit Orientable(const Glib::Interface_Class& interface_class);
96 
97 public:
98  // This is public so that C++ wrapper instances can be
99  // created for C instances of unwrapped types.
100  // For instance, if an unexpected C type implements the C interface.
101  explicit Orientable(GtkOrientable* castitem);
102 
103 protected:
104 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
105 
106 public:
107  virtual ~Orientable();
108 
109  static void add_interface(GType gtype_implementer);
110 
113  static GType get_type() G_GNUC_CONST;
114 
115 #ifndef DOXYGEN_SHOULD_SKIP_THIS
116  static GType get_base_type() G_GNUC_CONST;
117 #endif
118 
120  GtkOrientable* gobj() { return reinterpret_cast<GtkOrientable*>(gobject_); }
121 
123  const GtkOrientable* gobj() const { return reinterpret_cast<GtkOrientable*>(gobject_); }
124 
125 private:
126 
127 
128 public:
129 
134  void set_orientation(Orientation orientation);
135 
141 
147  Glib::PropertyProxy< Orientation > property_orientation() ;
148 
154  Glib::PropertyProxy_ReadOnly< Orientation > property_orientation() const;
155 
156 
157 public:
158 
159 public:
160  //C++ methods used to invoke GTK+ virtual functions:
161 
162 protected:
163  //GTK+ Virtual Functions (override these to change behaviour):
164 
165  //Default Signal Handlers::
166 
167 
168 };
169 
170 } // namespace Gtk
171 
172 
173 namespace Glib
174 {
183  Glib::RefPtr<Gtk::Orientable> wrap(GtkOrientable* object, bool take_copy = false);
184 
185 } // namespace Glib
186 
187 
188 #endif /* _GTKMM_ORIENTABLE_H */
189 
Glib::PropertyProxy_ReadOnly< Orientation > property_orientation() const
virtual ~Orientable()
Glib::RefPtr< Gtk::Orientable > wrap(GtkOrientable *object, bool take_copy=false)
static GType get_type() G_GNUC_CONST
static void add_interface(GType gtype_implementer)
Orientation get_orientation() const
Glib::PropertyProxy< Orientation > property_orientation()
const GtkOrientable * gobj() const
Provides access to the underlying C GObject.
Definition: orientable.h:123
void set_orientation(Orientation orientation)
GtkOrientable * gobj()
Provides access to the underlying C GObject.
Definition: orientable.h:120
struct _GtkOrientable GtkOrientable
Definition: gtkorientable.h:43
Definition: ardour_ui.h:188