add new sigc++2 directory
[ardour.git] / libs / libgnomecanvasmm / libgnomecanvasmm / group.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_GROUP_H
4 #define _LIBGNOMECANVASMM_GROUP_H
5
6 #include <glibmm.h>
7
8 // -*- C++ -*-
9 /* $Id$ */
10
11 /* group.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/item.h>
34
35
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 typedef struct _GnomeCanvasGroup GnomeCanvasGroup;
38 typedef struct _GnomeCanvasGroupClass GnomeCanvasGroupClass;
39 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
40
41
42 namespace Gnome
43 {
44
45 namespace Canvas
46 { class Group_Class; } // namespace Canvas
47
48 } // namespace Gnome
49 namespace Gnome
50 {
51
52 namespace Canvas
53 {
54
55 class Canvas;
56
57
58 class Group : public Item
59 {
60   public:
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 */
67
68   virtual ~Group();
69
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71
72 private:
73   friend class Group_Class;
74   static CppClassType group_class_;
75
76   // noncopyable
77   Group(const Group&);
78   Group& operator=(const Group&);
79
80 protected:
81   explicit Group(const Glib::ConstructParams& construct_params);
82   explicit Group(GnomeCanvasGroup* castitem);
83
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85
86 public:
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88   static GType get_type()      G_GNUC_CONST;
89   static GType get_base_type() G_GNUC_CONST;
90 #endif
91
92   ///Provides access to the underlying C GtkObject.
93   GnomeCanvasGroup*       gobj()       { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
94
95   ///Provides access to the underlying C GtkObject.
96   const GnomeCanvasGroup* gobj() const { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
97
98
99 public:
100   //C++ methods used to invoke GTK+ virtual functions:
101
102 protected:
103   //GTK+ Virtual Functions (override these to change behaviour):
104
105   //Default Signal Handlers::
106
107
108 private:
109 ;
110 public:
111   friend class Canvas;
112   explicit Group(Group& parent, double x = 0, double y = 0);
113   Group();
114
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_x() ;
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_x() 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_y() ;
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_y() const;
147
148
149 };
150
151 } /* namespace Canvas */
152 } /* namespace Gnome */
153
154 namespace Glib
155 {
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.
160    */
161   Gnome::Canvas::Group* wrap(GnomeCanvasGroup* object, bool take_copy = false);
162 }
163 #endif /* _LIBGNOMECANVASMM_GROUP_H */
164