2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_BPATH_H
4 #define _LIBGNOMECANVASMM_BPATH_H
13 * Copyright (C) 2002 The libgnomecanvasmm Development Team
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Library General Public
17 * License as published by the Free Software Foundation; either
18 * version 2 of the License, or (at your option) any later version.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Library General Public License for more details.
25 * You should have received a copy of the GNU Library General Public
26 * License along with this library; if not, write to the Free
27 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30 #include <libgnomecanvasmm/shape.h>
31 #include <libgnomecanvasmm/path-def.h>
32 #include <libgnomecanvas/gnome-canvas-bpath.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GnomeCanvasBpath GnomeCanvasBpath;
37 typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass;
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
45 { class Bpath_Class; } // namespace Canvas
55 class Bpath : public Shape
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59 typedef Bpath CppObjectType;
60 typedef Bpath_Class CppClassType;
61 typedef GnomeCanvasBpath BaseObjectType;
62 typedef GnomeCanvasBpathClass BaseClassType;
63 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 friend class Bpath_Class;
71 static CppClassType bpath_class_;
75 Bpath& operator=(const Bpath&);
78 explicit Bpath(const Glib::ConstructParams& construct_params);
79 explicit Bpath(GnomeCanvasBpath* castitem);
81 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 static GType get_type() G_GNUC_CONST;
86 static GType get_base_type() G_GNUC_CONST;
89 ///Provides access to the underlying C GtkObject.
90 GnomeCanvasBpath* gobj() { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
92 ///Provides access to the underlying C GtkObject.
93 const GnomeCanvasBpath* gobj() const { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); }
97 //C++ methods used to invoke GTK+ virtual functions:
100 //GTK+ Virtual Functions (override these to change behaviour):
102 //Default Signal Handlers::
108 explicit Bpath(Group& parent);
110 // This property stores a pointer to GnomeCanvasPathDef
113 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
114 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
115 * the value of the property changes.
117 Glib::PropertyProxy<gpointer> property_bpath() ;
121 * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
122 * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
123 * the value of the property changes.
125 Glib::PropertyProxy_ReadOnly<gpointer> property_bpath() const;
128 void set_bpath(const Glib::RefPtr<PathDef>& path);
133 } /* namespace Canvas */
135 } /* namespace Gnome */
140 /** @relates Gnome::Canvas::Bpath
141 * @param object The C instance
142 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
143 * @result A C++ instance that wraps this C instance.
145 Gnome::Canvas::Bpath* wrap(GnomeCanvasBpath* object, bool take_copy = false);
147 #endif /* _LIBGNOMECANVASMM_BPATH_H */