2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_SEPARATORMENUITEM_H
4 #define _GTKMM_SEPARATORMENUITEM_H
13 * Copyright (C) 2002 The gtkmm Development Team
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.
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.
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.
30 #include <gtkmm/menuitem.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem;
35 typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 { class SeparatorMenuItem_Class; } // namespace Gtk
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.
50 class SeparatorMenuItem : public MenuItem
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 */
60 virtual ~SeparatorMenuItem();
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 friend class SeparatorMenuItem_Class;
66 static CppClassType separatormenuitem_class_;
69 SeparatorMenuItem(const SeparatorMenuItem&);
70 SeparatorMenuItem& operator=(const SeparatorMenuItem&);
73 explicit SeparatorMenuItem(const Glib::ConstructParams& construct_params);
74 explicit SeparatorMenuItem(GtkSeparatorMenuItem* castitem);
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80 static GType get_type() G_GNUC_CONST;
81 static GType get_base_type() G_GNUC_CONST;
84 ///Provides access to the underlying C GtkObject.
85 GtkSeparatorMenuItem* gobj() { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
87 ///Provides access to the underlying C GtkObject.
88 const GtkSeparatorMenuItem* gobj() const { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
92 //C++ methods used to invoke GTK+ virtual functions:
95 //GTK+ Virtual Functions (override these to change behaviour):
97 //Default Signal Handlers::
108 } /* namespace Gtk */
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.
118 Gtk::SeparatorMenuItem* wrap(GtkSeparatorMenuItem* object, bool take_copy = false);
120 #endif /* _GTKMM_SEPARATORMENUITEM_H */