Ardour  9.0-pre0-582-g084a23a80d
menubar.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_MENUBAR_H
4 #define _GTKMM_MENUBAR_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: menubar.hg,v 1.2 2003/11/17 18:19:00 murrayc Exp $ */
11 
12 
13 /* menubar.h
14  *
15  * Copyright (C) 1998-2002 The gtkmm Development Team
16  *
17  * This library is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU Lesser General Public
19  * License as published by the Free Software Foundation; either
20  * version 2.1 of the License, or (at your option) any later version.
21  *
22  * This library is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25  * Lesser General Public License for more details.
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free
29  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30  */
31 
32 #include <gtkmm/menushell.h>
33 #include <gtkmm/menuitem.h>
34 
35 
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 typedef struct _GtkMenuBar GtkMenuBar;
38 typedef struct _GtkMenuBarClass GtkMenuBarClass;
39 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 
41 
42 namespace Gtk
43 { class MenuBar_Class; } // namespace Gtk
44 namespace Gtk
45 {
46 
54 {
59 };
60 
61 } // namespace Gtk
62 
63 
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 namespace Glib
66 {
67 
68 template <>
69 class Value<Gtk::PackDirection> : public Glib::Value_Enum<Gtk::PackDirection>
70 {
71 public:
72  static GType value_type() G_GNUC_CONST;
73 };
74 
75 } // namespace Glib
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 
79 namespace Gtk
80 {
81 
82 
90 class MenuBar : public MenuShell
91 {
92  public:
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94  typedef MenuBar CppObjectType;
95  typedef MenuBar_Class CppClassType;
96  typedef GtkMenuBar BaseObjectType;
97  typedef GtkMenuBarClass BaseClassType;
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99 
100  virtual ~MenuBar();
101 
102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
103 
104 private:
105  friend class MenuBar_Class;
106  static CppClassType menubar_class_;
107 
108  // noncopyable
109  MenuBar(const MenuBar&);
110  MenuBar& operator=(const MenuBar&);
111 
112 protected:
113  explicit MenuBar(const Glib::ConstructParams& construct_params);
114  explicit MenuBar(GtkMenuBar* castitem);
115 
116 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
117 
118 public:
119 #ifndef DOXYGEN_SHOULD_SKIP_THIS
120  static GType get_type() G_GNUC_CONST;
121 
122 
123  static GType get_base_type() G_GNUC_CONST;
124 #endif
125 
127  GtkMenuBar* gobj() { return reinterpret_cast<GtkMenuBar*>(gobject_); }
128 
130  const GtkMenuBar* gobj() const { return reinterpret_cast<GtkMenuBar*>(gobject_); }
131 
132 
133 public:
134  //C++ methods used to invoke GTK+ virtual functions:
135 
136 protected:
137  //GTK+ Virtual Functions (override these to change behaviour):
138 
139  //Default Signal Handlers::
140 
141 
142 private:
143 
144 
145 public:
147 
148 
155 
161 
168 
174 
175  // append, prepend and insert are defined in menushell
176 
182  Glib::PropertyProxy< PackDirection > property_pack_direction() ;
183 
189  Glib::PropertyProxy_ReadOnly< PackDirection > property_pack_direction() const;
190 
196  Glib::PropertyProxy< PackDirection > property_child_pack_direction() ;
197 
203  Glib::PropertyProxy_ReadOnly< PackDirection > property_child_pack_direction() const;
204 
205 
206 private:
208 
209 
210 };
211 
212 } // namespace Gtk
213 
214 
215 namespace Glib
216 {
225  Gtk::MenuBar* wrap(GtkMenuBar* object, bool take_copy = false);
226 } //namespace Glib
227 
228 
229 #endif /* _GTKMM_MENUBAR_H */
230 
void set_child_pack_direction(PackDirection child_pack_dir)
Glib::PropertyProxy< PackDirection > property_child_pack_direction()
GtkMenuBar * gobj()
Provides access to the underlying C GtkObject.
Definition: menubar.h:127
void init_accels_handler_(void)
Glib::PropertyProxy_ReadOnly< PackDirection > property_pack_direction() const
Glib::PropertyProxy_ReadOnly< PackDirection > property_child_pack_direction() const
Gtk::MenuBar * wrap(GtkMenuBar *object, bool take_copy=false)
Glib::PropertyProxy< PackDirection > property_pack_direction()
PackDirection get_child_pack_direction() const
virtual ~MenuBar()
void set_pack_direction(PackDirection pack_dir)
PackDirection get_pack_direction() const
const GtkMenuBar * gobj() const
Provides access to the underlying C GtkObject.
Definition: menubar.h:130
PackDirection
Definition: menubar.h:54
@ PACK_DIRECTION_LTR
Definition: menubar.h:55
@ PACK_DIRECTION_RTL
Definition: menubar.h:56
@ PACK_DIRECTION_BTT
Definition: menubar.h:58
@ PACK_DIRECTION_TTB
Definition: menubar.h:57
Definition: ardour_ui.h:188
Definition: lobject.h:100