probably fix cleanup issues, but testing required
[ardour.git] / libs / libgnomecanvasmm / libgnomecanvasmm / rect-ellipse.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_RECT_ELLIPSE_H
4 #define _LIBGNOMECANVASMM_RECT_ELLIPSE_H
5
6 #include <glibmm.h>
7
8 // -*- C++ -*-
9 /* $Id$ */
10
11 /* canvas-ellipse.h
12  * 
13  * Copyright (C) 1998 EMC Capital Management Inc.
14  * Developed by Havoc Pennington <hp@pobox.com>
15  *
16  * Copyright (C) 1999 The Gtk-- Development Team
17  *
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.
22  *
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.
27  *
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.
31  */
32
33 #include <libgnomecanvasmm/shape.h>
34 //#include <libgnomecanvasmm/group.h>
35 #include <libgnomecanvas/gnome-canvas-rect-ellipse.h>
36
37
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 typedef struct _GnomeCanvasRE GnomeCanvasRE;
40 typedef struct _GnomeCanvasREClass GnomeCanvasREClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
42
43
44 namespace Gnome
45 {
46
47 namespace Canvas
48 { class RectEllipse_Class; } // namespace Canvas
49
50 } // namespace Gnome
51 namespace Gnome
52 {
53
54 namespace Canvas
55 {
56
57 /** Abstract class for all rectangular shapes
58  * Corresponds to GnomeCanvasRE in libgnomecanvas
59  */
60
61 class RectEllipse : public Shape
62 {
63   public:
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 */
70
71   virtual ~RectEllipse();
72
73 #ifndef DOXYGEN_SHOULD_SKIP_THIS
74
75 private:
76   friend class RectEllipse_Class;
77   static CppClassType rectellipse_class_;
78
79   // noncopyable
80   RectEllipse(const RectEllipse&);
81   RectEllipse& operator=(const RectEllipse&);
82
83 protected:
84   explicit RectEllipse(const Glib::ConstructParams& construct_params);
85   explicit RectEllipse(GnomeCanvasRE* castitem);
86
87 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
88
89 public:
90 #ifndef DOXYGEN_SHOULD_SKIP_THIS
91   static GType get_type()      G_GNUC_CONST;
92   static GType get_base_type() G_GNUC_CONST;
93 #endif
94
95   ///Provides access to the underlying C GtkObject.
96   GnomeCanvasRE*       gobj()       { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
97
98   ///Provides access to the underlying C GtkObject.
99   const GnomeCanvasRE* gobj() const { return reinterpret_cast<GnomeCanvasRE*>(gobject_); }
100
101
102 public:
103   //C++ methods used to invoke GTK+ virtual functions:
104
105 protected:
106   //GTK+ Virtual Functions (override these to change behaviour):
107
108   //Default Signal Handlers::
109
110
111 private:
112
113 public:
114   explicit RectEllipse(Group& parent);
115
116   /** 
117    *
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.
121    */
122   Glib::PropertyProxy<double> property_x1() ;
123
124 /** 
125    *
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.
129    */
130   Glib::PropertyProxy_ReadOnly<double> property_x1() const;
131
132   /** 
133    *
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.
137    */
138   Glib::PropertyProxy<double> property_y1() ;
139
140 /** 
141    *
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.
145    */
146   Glib::PropertyProxy_ReadOnly<double> property_y1() const;
147
148   /** 
149    *
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.
153    */
154   Glib::PropertyProxy<double> property_x2() ;
155
156 /** 
157    *
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.
161    */
162   Glib::PropertyProxy_ReadOnly<double> property_x2() const;
163
164   /** 
165    *
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.
169    */
170   Glib::PropertyProxy<double> property_y2() ;
171
172 /** 
173    *
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.
177    */
178   Glib::PropertyProxy_ReadOnly<double> property_y2() const;
179
180
181 };
182
183 } /* namespace Canvas */
184 } /* namespace Gnome */
185
186 namespace Glib
187 {
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.
192    */
193   Gnome::Canvas::RectEllipse* wrap(GnomeCanvasRE* object, bool take_copy = false);
194 }
195 #endif /* _LIBGNOMECANVASMM_RECT_ELLIPSE_H */
196