2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_RECT_ELLIPSE_H
4 #define _LIBGNOMECANVASMM_RECT_ELLIPSE_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/shape.h>
34 //#include <libgnomecanvasmm/group.h>
35 #include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 typedef struct _GnomeCanvasRE GnomeCanvasRE;
40 typedef struct _GnomeCanvasREClass GnomeCanvasREClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
48 { class RectEllipse_Class; } // namespace Canvas
57 /** Abstract class for all rectangular shapes
58 * Corresponds to GnomeCanvasRE in libgnomecanvas
61 class RectEllipse : public Shape
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 typedef RectEllipse CppObjectType;
66 typedef RectEllipse_Class CppClassType;
67 typedef GnomeCanvasRE BaseObjectType;
68 typedef GnomeCanvasREClass BaseClassType;
69 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
71 virtual ~RectEllipse();
73 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 friend class RectEllipse_Class;
77 static CppClassType rectellipse_class_;
80 RectEllipse(const RectEllipse&);
81 RectEllipse& operator=(const RectEllipse&);
84 explicit RectEllipse(const Glib::ConstructParams& construct_params);
85 explicit RectEllipse(GnomeCanvasRE* castitem);
87 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
91 static GType get_type() G_GNUC_CONST;
92 static GType get_base_type() G_GNUC_CONST;
95 ///Provides access to the underlying C GtkObject.
96 GnomeCanvasRE* gobj() { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
98 ///Provides access to the underlying C GtkObject.
99 const GnomeCanvasRE* gobj() const { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
103 //C++ methods used to invoke GTK+ virtual functions:
106 //GTK+ Virtual Functions (override these to change behaviour):
108 //Default Signal Handlers::
114 explicit RectEllipse(Group& parent);
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_x1() ;
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_x1() 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_y1() ;
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_y1() const;
150 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
151 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
152 * the value of the property changes.
154 Glib::PropertyProxy<double> property_x2() ;
158 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
159 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
160 * the value of the property changes.
162 Glib::PropertyProxy_ReadOnly<double> property_x2() const;
166 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
167 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
168 * the value of the property changes.
170 Glib::PropertyProxy<double> property_y2() ;
174 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
175 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
176 * the value of the property changes.
178 Glib::PropertyProxy_ReadOnly<double> property_y2() const;
183 } /* namespace Canvas */
184 } /* namespace Gnome */
188 /** @relates Gnome::Canvas::RectEllipse
189 * @param object The C instance
190 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
191 * @result A C++ instance that wraps this C instance.
193 Gnome::Canvas::RectEllipse* wrap(GnomeCanvasRE* object, bool take_copy = false);
195 #endif /* _LIBGNOMECANVASMM_RECT_ELLIPSE_H */