2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_GROUP_H
4 #define _LIBGNOMECANVASMM_GROUP_H
13 * Copyright (C) 1998 EMC Capital Management Inc.
14 * Developed by Havoc Pennington <hp@pobox.com>
16 * Copyright (C) 1999 The Gtk-- Development Team
18 * This library is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU Library General Public
20 * License as published by the Free Software Foundation; either
21 * version 2 of the License, or (at your option) any later version.
23 * This library is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 * Library General Public License for more details.
28 * You should have received a copy of the GNU Library General Public
29 * License along with this library; if not, write to the Free
30 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 #include <libgnomecanvasmm/item.h>
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 typedef struct _GnomeCanvasGroup GnomeCanvasGroup;
38 typedef struct _GnomeCanvasGroupClass GnomeCanvasGroupClass;
39 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
46 { class Group_Class; } // namespace Canvas
58 class Group : public Item
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef Group CppObjectType;
63 typedef Group_Class CppClassType;
64 typedef GnomeCanvasGroup BaseObjectType;
65 typedef GnomeCanvasGroupClass BaseClassType;
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 friend class Group_Class;
74 static CppClassType group_class_;
78 Group& operator=(const Group&);
81 explicit Group(const Glib::ConstructParams& construct_params);
82 explicit Group(GnomeCanvasGroup* castitem);
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88 static GType get_type() G_GNUC_CONST;
89 static GType get_base_type() G_GNUC_CONST;
92 ///Provides access to the underlying C GtkObject.
93 GnomeCanvasGroup* gobj() { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
95 ///Provides access to the underlying C GtkObject.
96 const GnomeCanvasGroup* gobj() const { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
100 //C++ methods used to invoke GTK+ virtual functions:
103 //GTK+ Virtual Functions (override these to change behaviour):
105 //Default Signal Handlers::
112 explicit Group(Group& parent, double x = 0, double y = 0);
118 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
119 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
120 * the value of the property changes.
122 Glib::PropertyProxy<double> property_x() ;
126 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
127 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
128 * the value of the property changes.
130 Glib::PropertyProxy_ReadOnly<double> property_x() const;
134 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
135 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
136 * the value of the property changes.
138 Glib::PropertyProxy<double> property_y() ;
142 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
143 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
144 * the value of the property changes.
146 Glib::PropertyProxy_ReadOnly<double> property_y() const;
151 } /* namespace Canvas */
152 } /* namespace Gnome */
156 /** @relates Gnome::Canvas::Group
157 * @param object The C instance
158 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
159 * @result A C++ instance that wraps this C instance.
161 Gnome::Canvas::Group* wrap(GnomeCanvasGroup* object, bool take_copy = false);
163 #endif /* _LIBGNOMECANVASMM_GROUP_H */