2
// Generated by gtkmmproc -- DO NOT MODIFY!
3
#ifndef _GTKMM_SEPARATORMENUITEM_H
4
#define _GTKMM_SEPARATORMENUITEM_H
9
/* $Id: separatormenuitem.hg,v 1.1 2003/01/21 13:40:37 murrayc Exp $ */
14
* Copyright (C) 2002 The gtkmm Development Team
16
* This library is free software; you can redistribute it and/or
17
* modify it under the terms of the GNU Lesser General Public
18
* License as published by the Free Software Foundation; either
19
* version 2.1 of the License, or (at your option) any later version.
21
* This library is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24
* Lesser General Public License for more details.
26
* You should have received a copy of the GNU Lesser General Public
27
* License along with this library; if not, write to the Free
28
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31
#include <gtkmm/menuitem.h>
34
#ifndef DOXYGEN_SHOULD_SKIP_THIS
35
typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem;
36
typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass;
37
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
{ class SeparatorMenuItem_Class; } // namespace Gtk
45
/** A separator used to group items within a menu.
46
* It displays a horizontal line with a shadow to make it appear sunken into the interface.
51
class SeparatorMenuItem : public MenuItem
54
#ifndef DOXYGEN_SHOULD_SKIP_THIS
55
typedef SeparatorMenuItem CppObjectType;
56
typedef SeparatorMenuItem_Class CppClassType;
57
typedef GtkSeparatorMenuItem BaseObjectType;
58
typedef GtkSeparatorMenuItemClass BaseClassType;
59
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
61
virtual ~SeparatorMenuItem();
63
#ifndef DOXYGEN_SHOULD_SKIP_THIS
66
friend class SeparatorMenuItem_Class;
67
static CppClassType separatormenuitem_class_;
70
SeparatorMenuItem(const SeparatorMenuItem&);
71
SeparatorMenuItem& operator=(const SeparatorMenuItem&);
74
explicit SeparatorMenuItem(const Glib::ConstructParams& construct_params);
75
explicit SeparatorMenuItem(GtkSeparatorMenuItem* castitem);
77
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
80
#ifndef DOXYGEN_SHOULD_SKIP_THIS
81
static GType get_type() G_GNUC_CONST;
84
static GType get_base_type() G_GNUC_CONST;
87
///Provides access to the underlying C GtkObject.
88
GtkSeparatorMenuItem* gobj() { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
90
///Provides access to the underlying C GtkObject.
91
const GtkSeparatorMenuItem* gobj() const { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
95
//C++ methods used to invoke GTK+ virtual functions:
98
//GTK+ Virtual Functions (override these to change behaviour):
100
//Default Signal Handlers::
111
} /* namespace Gtk */
116
/** A Glib::wrap() method for this object.
118
* @param object The C instance.
119
* @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
120
* @result A C++ instance that wraps this C instance.
122
* @relates Gtk::SeparatorMenuItem
124
Gtk::SeparatorMenuItem* wrap(GtkSeparatorMenuItem* object, bool take_copy = false);
128
#endif /* _GTKMM_SEPARATORMENUITEM_H */