2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_SEPARATORTOOLITEM_H
4 #define _GTKMM_SEPARATORTOOLITEM_H
11 /* separatortoolitem.h
13 * Copyright (C) 2003 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/toolitem.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem;
35 typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 { class SeparatorToolItem_Class; } // namespace Gtk
44 /** A toolbar item that separates groups of other toolbar items.
46 * A Gtk::SeparatorToolItem is a Gtk::ToolItem that separates groups of other Gtk::ToolItems.
47 * Depending on the theme, it will often look like a vertical line on
48 * horizontally docked toolbars. If the property "expand" is <tt>true</tt> and the property "draw"
49 * is <tt>false</tt>, a Gtk::SeparatorToolItem will act as a "spring" that forces other items to the
50 * ends of the toolbar.
55 class SeparatorToolItem : public ToolItem
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59 typedef SeparatorToolItem CppObjectType;
60 typedef SeparatorToolItem_Class CppClassType;
61 typedef GtkSeparatorToolItem BaseObjectType;
62 typedef GtkSeparatorToolItemClass BaseClassType;
63 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
65 virtual ~SeparatorToolItem();
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 friend class SeparatorToolItem_Class;
71 static CppClassType separatortoolitem_class_;
74 SeparatorToolItem(const SeparatorToolItem&);
75 SeparatorToolItem& operator=(const SeparatorToolItem&);
78 explicit SeparatorToolItem(const Glib::ConstructParams& construct_params);
79 explicit SeparatorToolItem(GtkSeparatorToolItem* castitem);
81 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 static GType get_type() G_GNUC_CONST;
86 static GType get_base_type() G_GNUC_CONST;
89 ///Provides access to the underlying C GtkObject.
90 GtkSeparatorToolItem* gobj() { return reinterpret_cast<GtkSeparatorToolItem*>(gobject_); }
92 ///Provides access to the underlying C GtkObject.
93 const GtkSeparatorToolItem* gobj() const { return reinterpret_cast<GtkSeparatorToolItem*>(gobject_); }
97 //C++ methods used to invoke GTK+ virtual functions:
98 #ifdef GLIBMM_VFUNCS_ENABLED
99 #endif //GLIBMM_VFUNCS_ENABLED
102 //GTK+ Virtual Functions (override these to change behaviour):
103 #ifdef GLIBMM_VFUNCS_ENABLED
104 #endif //GLIBMM_VFUNCS_ENABLED
106 //Default Signal Handlers::
107 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
108 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
124 /** A Glib::wrap() method for this object.
126 * @param object The C instance.
127 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
128 * @result A C++ instance that wraps this C instance.
130 * @relates Gtk::SeparatorToolItem
132 Gtk::SeparatorToolItem* wrap(GtkSeparatorToolItem* object, bool take_copy = false);
136 #endif /* _GTKMM_SEPARATORTOOLITEM_H */