Ardour  8.7-14-g57a6773833
tearoffmenuitem.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_TEAROFFMENUITEM_H
4 #define _GTKMM_TEAROFFMENUITEM_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: tearoffmenuitem.hg,v 1.1 2003/01/21 13:40:40 murrayc Exp $ */
11 
12 
13 /* tearoffmenuitem.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/menuitem.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 namespace Gtk
42 { class TearoffMenuItem_Class; } // namespace Gtk
43 namespace Gtk
44 {
45 
53 class TearoffMenuItem : public MenuItem
54 {
55  public:
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57  typedef TearoffMenuItem CppObjectType;
58  typedef TearoffMenuItem_Class CppClassType;
59  typedef GtkTearoffMenuItem BaseObjectType;
60  typedef GtkTearoffMenuItemClass BaseClassType;
61 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
62 
63  virtual ~TearoffMenuItem();
64 
65 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 
67 private:
68  friend class TearoffMenuItem_Class;
69  static CppClassType tearoffmenuitem_class_;
70 
71  // noncopyable
73  TearoffMenuItem& operator=(const TearoffMenuItem&);
74 
75 protected:
76  explicit TearoffMenuItem(const Glib::ConstructParams& construct_params);
77  explicit TearoffMenuItem(GtkTearoffMenuItem* castitem);
78 
79 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
80 
81 public:
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
83  static GType get_type() G_GNUC_CONST;
84 
85 
86  static GType get_base_type() G_GNUC_CONST;
87 #endif
88 
90  GtkTearoffMenuItem* gobj() { return reinterpret_cast<GtkTearoffMenuItem*>(gobject_); }
91 
93  const GtkTearoffMenuItem* gobj() const { return reinterpret_cast<GtkTearoffMenuItem*>(gobject_); }
94 
95 
96 public:
97  //C++ methods used to invoke GTK+ virtual functions:
98 
99 protected:
100  //GTK+ Virtual Functions (override these to change behaviour):
101 
102  //Default Signal Handlers::
103 
104 
105 private:
106 
107 public:
109 
110 #ifndef GTKMM_DISABLE_DEPRECATED
111 
114  bool is_torn_off() const;
115 #endif // GTKMM_DISABLE_DEPRECATED
116 
117 
118 };
119 
120 } /* namespace Gtk */
121 
122 
123 namespace Glib
124 {
133  Gtk::TearoffMenuItem* wrap(GtkTearoffMenuItem* object, bool take_copy = false);
134 } //namespace Glib
135 
136 
137 #endif /* _GTKMM_TEAROFFMENUITEM_H */
138 
GtkTearoffMenuItem * gobj()
Provides access to the underlying C GtkObject.
bool is_torn_off() const
Gtk::TearoffMenuItem * wrap(GtkTearoffMenuItem *object, bool take_copy=false)
virtual ~TearoffMenuItem()
const GtkTearoffMenuItem * gobj() const
Provides access to the underlying C GtkObject.
Definition: ardour_ui.h:188