2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _GTKMM_SEPARATOR_H
4 #define _GTKMM_SEPARATOR_H
13 * Copyright (C) 1998-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/widget.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 typedef struct _GtkSeparator GtkSeparator;
35 typedef struct _GtkSeparatorClass GtkSeparatorClass;
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40 { class Separator_Class; } // namespace Gtk
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 typedef struct _GtkVSeparator GtkVSeparator;
43 typedef struct _GtkVSeparatorClass GtkVSeparatorClass;
44 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
48 { class VSeparator_Class; } // namespace Gtk
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 typedef struct _GtkHSeparator GtkHSeparator;
51 typedef struct _GtkHSeparatorClass GtkHSeparatorClass;
52 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
56 { class HSeparator_Class; } // namespace Gtk
60 /** Separator base class.
61 * Abstract base class for Gtk::VSeperator and Gtk::HSeperator.
64 class Separator : public Widget
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
68 typedef Separator CppObjectType;
69 typedef Separator_Class CppClassType;
70 typedef GtkSeparator BaseObjectType;
71 typedef GtkSeparatorClass BaseClassType;
72 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
76 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79 friend class Separator_Class;
80 static CppClassType separator_class_;
83 Separator(const Separator&);
84 Separator& operator=(const Separator&);
87 explicit Separator(const Glib::ConstructParams& construct_params);
88 explicit Separator(GtkSeparator* castitem);
90 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 static GType get_type() G_GNUC_CONST;
95 static GType get_base_type() G_GNUC_CONST;
98 ///Provides access to the underlying C GtkObject.
99 GtkSeparator* gobj() { return reinterpret_cast<GtkSeparator*>(gobject_); }
101 ///Provides access to the underlying C GtkObject.
102 const GtkSeparator* gobj() const { return reinterpret_cast<GtkSeparator*>(gobject_); }
106 //C++ methods used to invoke GTK+ virtual functions:
107 #ifdef GLIBMM_VFUNCS_ENABLED
108 #endif //GLIBMM_VFUNCS_ENABLED
111 //GTK+ Virtual Functions (override these to change behaviour):
112 #ifdef GLIBMM_VFUNCS_ENABLED
113 #endif //GLIBMM_VFUNCS_ENABLED
115 //Default Signal Handlers::
116 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
117 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
131 /** Vertical line widget.
132 * Filler widget used to separate widgets with a visible line.
133 * This widget has no window and receives no configuration events.
134 * It should be considered a leaf widget.
138 class VSeparator : public Separator
141 #ifndef DOXYGEN_SHOULD_SKIP_THIS
142 typedef VSeparator CppObjectType;
143 typedef VSeparator_Class CppClassType;
144 typedef GtkVSeparator BaseObjectType;
145 typedef GtkVSeparatorClass BaseClassType;
146 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
148 virtual ~VSeparator();
150 #ifndef DOXYGEN_SHOULD_SKIP_THIS
153 friend class VSeparator_Class;
154 static CppClassType vseparator_class_;
157 VSeparator(const VSeparator&);
158 VSeparator& operator=(const VSeparator&);
161 explicit VSeparator(const Glib::ConstructParams& construct_params);
162 explicit VSeparator(GtkVSeparator* castitem);
164 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
167 #ifndef DOXYGEN_SHOULD_SKIP_THIS
168 static GType get_type() G_GNUC_CONST;
169 static GType get_base_type() G_GNUC_CONST;
172 ///Provides access to the underlying C GtkObject.
173 GtkVSeparator* gobj() { return reinterpret_cast<GtkVSeparator*>(gobject_); }
175 ///Provides access to the underlying C GtkObject.
176 const GtkVSeparator* gobj() const { return reinterpret_cast<GtkVSeparator*>(gobject_); }
180 //C++ methods used to invoke GTK+ virtual functions:
181 #ifdef GLIBMM_VFUNCS_ENABLED
182 #endif //GLIBMM_VFUNCS_ENABLED
185 //GTK+ Virtual Functions (override these to change behaviour):
186 #ifdef GLIBMM_VFUNCS_ENABLED
187 #endif //GLIBMM_VFUNCS_ENABLED
189 //Default Signal Handlers::
190 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
191 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
203 /** Horizontal line widget.
204 * Filler widget used to separate widgets with a visible line.
205 * This widget has no window and receives no configuration events.
206 * It should be considered a leaf widget.
210 class HSeparator : public Separator
213 #ifndef DOXYGEN_SHOULD_SKIP_THIS
214 typedef HSeparator CppObjectType;
215 typedef HSeparator_Class CppClassType;
216 typedef GtkHSeparator BaseObjectType;
217 typedef GtkHSeparatorClass BaseClassType;
218 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
220 virtual ~HSeparator();
222 #ifndef DOXYGEN_SHOULD_SKIP_THIS
225 friend class HSeparator_Class;
226 static CppClassType hseparator_class_;
229 HSeparator(const HSeparator&);
230 HSeparator& operator=(const HSeparator&);
233 explicit HSeparator(const Glib::ConstructParams& construct_params);
234 explicit HSeparator(GtkHSeparator* castitem);
236 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
239 #ifndef DOXYGEN_SHOULD_SKIP_THIS
240 static GType get_type() G_GNUC_CONST;
241 static GType get_base_type() G_GNUC_CONST;
244 ///Provides access to the underlying C GtkObject.
245 GtkHSeparator* gobj() { return reinterpret_cast<GtkHSeparator*>(gobject_); }
247 ///Provides access to the underlying C GtkObject.
248 const GtkHSeparator* gobj() const { return reinterpret_cast<GtkHSeparator*>(gobject_); }
252 //C++ methods used to invoke GTK+ virtual functions:
253 #ifdef GLIBMM_VFUNCS_ENABLED
254 #endif //GLIBMM_VFUNCS_ENABLED
257 //GTK+ Virtual Functions (override these to change behaviour):
258 #ifdef GLIBMM_VFUNCS_ENABLED
259 #endif //GLIBMM_VFUNCS_ENABLED
261 //Default Signal Handlers::
262 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
263 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
274 } /* namespace Gtk */
279 /** A Glib::wrap() method for this object.
281 * @param object The C instance.
282 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
283 * @result A C++ instance that wraps this C instance.
285 * @relates Gtk::Separator
287 Gtk::Separator* wrap(GtkSeparator* object, bool take_copy = false);
293 /** A Glib::wrap() method for this object.
295 * @param object The C instance.
296 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
297 * @result A C++ instance that wraps this C instance.
299 * @relates Gtk::VSeparator
301 Gtk::VSeparator* wrap(GtkVSeparator* object, bool take_copy = false);
307 /** A Glib::wrap() method for this object.
309 * @param object The C instance.
310 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
311 * @result A C++ instance that wraps this C instance.
313 * @relates Gtk::HSeparator
315 Gtk::HSeparator* wrap(GtkHSeparator* object, bool take_copy = false);
319 #endif /* _GTKMM_SEPARATOR_H */