libgnomecanvasmm
group.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMECANVASMM_GROUP_H
4#define _LIBGNOMECANVASMM_GROUP_H
5
6
7#include <glibmm.h>
8
9// -*- C++ -*-
10/* $Id: group.hg,v 1.6 2005/06/08 16:21:02 murrayc Exp $ */
11
12/* group.h
13 *
14 * Copyright (C) 1998 EMC Capital Management Inc.
15 * Developed by Havoc Pennington <hp@pobox.com>
16 *
17 * Copyright (C) 1999 The Gtk-- Development Team
18 *
19 * This library is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU Lesser General Public
21 * License as published by the Free Software Foundation; either
22 * version 2.1 of the License, or (at your option) any later version.
23 *
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
28 *
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free
31 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
32 */
33
35
36
37#ifndef DOXYGEN_SHOULD_SKIP_THIS
38typedef struct _GnomeCanvasGroup GnomeCanvasGroup;
39typedef struct _GnomeCanvasGroupClass GnomeCanvasGroupClass;
40#endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
42
43namespace Gnome
44{
45
46namespace Canvas
47{ class Group_Class; } // namespace Canvas
48
49} // namespace Gnome
50namespace Gnome
51{
52
53namespace Canvas
54{
55
56class Canvas;
57
58
59class Group : public Item
60{
61 public:
62#ifndef DOXYGEN_SHOULD_SKIP_THIS
63 typedef Group CppObjectType;
64 typedef Group_Class CppClassType;
65 typedef GnomeCanvasGroup BaseObjectType;
66 typedef GnomeCanvasGroupClass BaseClassType;
67#endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 virtual ~Group();
70
71#ifndef DOXYGEN_SHOULD_SKIP_THIS
72
73private:
74 friend class Group_Class;
75 static CppClassType group_class_;
76
77 // noncopyable
78 Group(const Group&);
79 Group& operator=(const Group&);
80
81protected:
82 explicit Group(const Glib::ConstructParams& construct_params);
83 explicit Group(GnomeCanvasGroup* castitem);
84
85#endif /* DOXYGEN_SHOULD_SKIP_THIS */
86
87public:
88#ifndef DOXYGEN_SHOULD_SKIP_THIS
89 static GType get_type() G_GNUC_CONST;
90 static GType get_base_type() G_GNUC_CONST;
91#endif
92
94 GnomeCanvasGroup* gobj() { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
95
97 const GnomeCanvasGroup* gobj() const { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); }
98
99
100public:
101 //C++ methods used to invoke GTK+ virtual functions:
102#ifdef GLIBMM_VFUNCS_ENABLED
103#endif //GLIBMM_VFUNCS_ENABLED
104
105protected:
106 //GTK+ Virtual Functions (override these to change behaviour):
107#ifdef GLIBMM_VFUNCS_ENABLED
108#endif //GLIBMM_VFUNCS_ENABLED
109
110 //Default Signal Handlers::
111#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113
114
115private:
116
117public:
118 friend class Canvas;
119 explicit Group(Group& parent, double x = 0, double y = 0);
121
122
123 #ifdef GLIBMM_PROPERTIES_ENABLED
130 Glib::PropertyProxy<double> property_x() ;
131#endif //#GLIBMM_PROPERTIES_ENABLED
132
133#ifdef GLIBMM_PROPERTIES_ENABLED
140 Glib::PropertyProxy_ReadOnly<double> property_x() const;
141#endif //#GLIBMM_PROPERTIES_ENABLED
142
143 #ifdef GLIBMM_PROPERTIES_ENABLED
150 Glib::PropertyProxy<double> property_y() ;
151#endif //#GLIBMM_PROPERTIES_ENABLED
152
153#ifdef GLIBMM_PROPERTIES_ENABLED
160 Glib::PropertyProxy_ReadOnly<double> property_y() const;
161#endif //#GLIBMM_PROPERTIES_ENABLED
162
163
164};
165
166} /* namespace Canvas */
167} /* namespace Gnome */
168
169
170namespace Glib
171{
180 Gnome::Canvas::Group* wrap(GnomeCanvasGroup* object, bool take_copy = false);
181} //namespace Glib
182
183
184#endif /* _LIBGNOMECANVASMM_GROUP_H */
185
Canvas functions usually operate in either World coordinates (units for the entire canvas),...
Definition: canvas.h:69
Definition: group.h:60
Group(Group &parent, double x=0, double y=0)
Glib::PropertyProxy_ReadOnly< double > property_y() const
Y.
GnomeCanvasGroup * gobj()
Provides access to the underlying C GtkObject.
Definition: group.h:94
Gnome::Canvas::Group * wrap(GnomeCanvasGroup *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy< double > property_y()
Y.
Glib::PropertyProxy_ReadOnly< double > property_x() const
X.
const GnomeCanvasGroup * gobj() const
Provides access to the underlying C GtkObject.
Definition: group.h:97
Glib::PropertyProxy< double > property_x()
X.
Definition: item.h:67
Definition: bpath.h:150
Definition: affinetrans.h:30