Install ardour as a binary, a script and a set of shared
[ardour.git] / libs / gtkmm2 / gtk / gtkmm / separatormenuitem.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_SEPARATORMENUITEM_H
4 #define _GTKMM_SEPARATORMENUITEM_H
5
6 #include <glibmm.h>
7
8 /* $Id$ */
9
10
11 /* separator.h
12  * 
13  * Copyright (C) 2002 The gtkmm Development Team
14  *
15  * This library is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU Library General Public
17  * License as published by the Free Software Foundation; either
18  * version 2 of the License, or (at your option) any later version.
19  *
20  * This library is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23  * Library General Public License for more details.
24  *
25  * You should have received a copy of the GNU Library General Public
26  * License along with this library; if not, write to the Free
27  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28  */
29
30 #include <gtkmm/menuitem.h>
31
32
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem;
35 typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37
38
39 namespace Gtk
40 { class SeparatorMenuItem_Class; } // namespace Gtk
41 namespace Gtk
42 {
43
44 /** A separator used to group items within a menu.
45  * It displays a horizontal line with a shadow to make it appear sunken into the interface.
46  * @ingroup Widgets
47  * @ingroup Menus
48  */
49
50 class SeparatorMenuItem : public MenuItem
51 {
52   public:
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54   typedef SeparatorMenuItem CppObjectType;
55   typedef SeparatorMenuItem_Class CppClassType;
56   typedef GtkSeparatorMenuItem BaseObjectType;
57   typedef GtkSeparatorMenuItemClass BaseClassType;
58 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
59
60   virtual ~SeparatorMenuItem();
61
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63
64 private:
65   friend class SeparatorMenuItem_Class;
66   static CppClassType separatormenuitem_class_;
67
68   // noncopyable
69   SeparatorMenuItem(const SeparatorMenuItem&);
70   SeparatorMenuItem& operator=(const SeparatorMenuItem&);
71
72 protected:
73   explicit SeparatorMenuItem(const Glib::ConstructParams& construct_params);
74   explicit SeparatorMenuItem(GtkSeparatorMenuItem* castitem);
75
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77
78 public:
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80   static GType get_type()      G_GNUC_CONST;
81   static GType get_base_type() G_GNUC_CONST;
82 #endif
83
84   ///Provides access to the underlying C GtkObject.
85   GtkSeparatorMenuItem*       gobj()       { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
86
87   ///Provides access to the underlying C GtkObject.
88   const GtkSeparatorMenuItem* gobj() const { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
89
90
91 public:
92   //C++ methods used to invoke GTK+ virtual functions:
93
94 protected:
95   //GTK+ Virtual Functions (override these to change behaviour):
96
97   //Default Signal Handlers::
98
99
100 private:
101
102 public:
103   SeparatorMenuItem();
104
105
106 };
107
108 } /* namespace Gtk */
109
110
111 namespace Glib
112 {
113   /** @relates Gtk::SeparatorMenuItem
114    * @param object The C instance
115    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
116    * @result A C++ instance that wraps this C instance.
117    */
118   Gtk::SeparatorMenuItem* wrap(GtkSeparatorMenuItem* object, bool take_copy = false);
119 }
120 #endif /* _GTKMM_SEPARATORMENUITEM_H */
121