Ardour  9.0-pre0-582-g084a23a80d
toolshell.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_TOOLSHELL_H
4 #define _GTKMM_TOOLSHELL_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: editable.hg,v 1.3 2006/05/18 17:53:15 murrayc Exp $ */
11 
12 /* Copyright (C) 1998-2002 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 #include <gtkmm/sizegroup.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 extern "C"
36 {
38 }
39 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 
41 
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 typedef struct _GtkToolShell GtkToolShell;
44 typedef struct _GtkToolShellClass GtkToolShellClass;
45 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
46 
47 
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 namespace Gtk
50 { class ToolShell_Class; } // namespace Gtk
51 #endif // DOXYGEN_SHOULD_SKIP_THIS
52 
53 namespace Gtk
54 {
55 
60 class ToolShell : public Glib::Interface
61 {
62 
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
64 
65 public:
66  typedef ToolShell CppObjectType;
67  typedef ToolShell_Class CppClassType;
68  typedef GtkToolShell BaseObjectType;
69  typedef GtkToolShellIface BaseClassType;
70 
71 private:
72  friend class ToolShell_Class;
73  static CppClassType toolshell_class_;
74 
75  // noncopyable
76  ToolShell(const ToolShell&);
77  ToolShell& operator=(const ToolShell&);
78 
79 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
80 protected:
85 
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
93  explicit ToolShell(const Glib::Interface_Class& interface_class);
94 
95 public:
96  // This is public so that C++ wrapper instances can be
97  // created for C instances of unwrapped types.
98  // For instance, if an unexpected C type implements the C interface.
99  explicit ToolShell(GtkToolShell* castitem);
100 
101 protected:
102 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
103 
104 public:
105  virtual ~ToolShell();
106 
107  static void add_interface(GType gtype_implementer);
108 
111  static GType get_type() G_GNUC_CONST;
112 
113 #ifndef DOXYGEN_SHOULD_SKIP_THIS
114  static GType get_base_type() G_GNUC_CONST;
115 #endif
116 
118  GtkToolShell* gobj() { return reinterpret_cast<GtkToolShell*>(gobject_); }
119 
121  const GtkToolShell* gobj() const { return reinterpret_cast<GtkToolShell*>(gobject_); }
122 
123 private:
124 
125 
126 public:
127 
134 
142 
150 
157 
165  void rebuild_menu();
166 
174 
181  float get_text_alignment() const;
182 
189  Pango::EllipsizeMode get_ellipsize_mode() const;
190 
191 
198  Glib::RefPtr<SizeGroup> get_text_size_group();
199 
206  Glib::RefPtr<const SizeGroup> get_text_size_group() const;
207 
208 protected:
209 
211 
213 
215 
217 
218  virtual void rebuild_menu_vfunc();
219 
220  //TODO: Add the other vfuncs when we can break ABI.
221 
222 
223 public:
224 
225 public:
226  //C++ methods used to invoke GTK+ virtual functions:
227 
228 protected:
229  //GTK+ Virtual Functions (override these to change behaviour):
230 
231  //Default Signal Handlers::
232 
233 
234 };
235 
236 } // namespace Gtk
237 
238 
239 namespace Glib
240 {
249  Glib::RefPtr<Gtk::ToolShell> wrap(GtkToolShell* object, bool take_copy = false);
250 
251 } // namespace Glib
252 
253 
254 #endif /* _GTKMM_TOOLSHELL_H */
255 
Pango::EllipsizeMode get_ellipsize_mode() const
void rebuild_menu()
Orientation get_orientation() const
virtual ReliefStyle get_relief_style_vfunc()
IconSize get_icon_size() const
GtkToolShell * gobj()
Provides access to the underlying C GObject.
Definition: toolshell.h:118
ReliefStyle get_relief_style() const
float get_text_alignment() const
const GtkToolShell * gobj() const
Provides access to the underlying C GObject.
Definition: toolshell.h:121
virtual ToolbarStyle get_style_vfunc()
virtual Orientation get_orientation_vfunc()
Glib::RefPtr< const SizeGroup > get_text_size_group() const
Glib::RefPtr< SizeGroup > get_text_size_group()
virtual void rebuild_menu_vfunc()
static void add_interface(GType gtype_implementer)
ToolbarStyle get_style() const
virtual ~ToolShell()
virtual IconSize get_icon_size_vfunc()
Orientation get_text_orientation() const
static GType get_type() G_GNUC_CONST
Glib::RefPtr< Gtk::ToolShell > wrap(GtkToolShell *object, bool take_copy=false)
struct _GtkToolShell GtkToolShell
Definition: gtktoolshell.h:43
Definition: ardour_ui.h:188