Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

group.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_GROUP_H 00004 #define _LIBGNOMECANVASMM_GROUP_H 00005 00006 #include <glibmm.h> 00007 00008 // -*- C++ -*- 00009 /* $Id: group.hg,v 1.5 2002/04/01 16:54:22 murrayc Exp $ */ 00010 00011 /* group.h 00012 * 00013 * Copyright (C) 1998 EMC Capital Management Inc. 00014 * Developed by Havoc Pennington <hp@pobox.com> 00015 * 00016 * Copyright (C) 1999 The Gtk-- Development Team 00017 * 00018 * This library is free software; you can redistribute it and/or 00019 * modify it under the terms of the GNU Library General Public 00020 * License as published by the Free Software Foundation; either 00021 * version 2 of the License, or (at your option) any later version. 00022 * 00023 * This library is distributed in the hope that it will be useful, 00024 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00025 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00026 * Library General Public License for more details. 00027 * 00028 * You should have received a copy of the GNU Library General Public 00029 * License along with this library; if not, write to the Free 00030 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00031 */ 00032 00033 #include <libgnomecanvasmm/item.h> 00034 00035 00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00037 typedef struct _GnomeCanvasGroup GnomeCanvasGroup; 00038 typedef struct _GnomeCanvasGroupClass GnomeCanvasGroupClass; 00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00040 00041 00042 namespace Gnome 00043 { 00044 00045 namespace Canvas 00046 { class Group_Class; } // namespace Canvas 00047 00048 } // namespace Gnome 00049 namespace Gnome 00050 { 00051 00052 namespace Canvas 00053 { 00054 00055 class Canvas; 00056 00057 00058 class Group : public Item 00059 { 00060 public: 00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00062 typedef Group CppObjectType; 00063 typedef Group_Class CppClassType; 00064 typedef GnomeCanvasGroup BaseObjectType; 00065 typedef GnomeCanvasGroupClass BaseClassType; 00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00067 00068 virtual ~Group(); 00069 00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00071 00072 private: 00073 friend class Group_Class; 00074 static CppClassType group_class_; 00075 00076 // noncopyable 00077 Group(const Group&); 00078 Group& operator=(const Group&); 00079 00080 protected: 00081 explicit Group(const Glib::ConstructParams& construct_params); 00082 explicit Group(GnomeCanvasGroup* castitem); 00083 00084 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00085 00086 public: 00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00088 static GType get_type() G_GNUC_CONST; 00089 static GType get_base_type() G_GNUC_CONST; 00090 #endif 00091 00093 GnomeCanvasGroup* gobj() { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); } 00094 00096 const GnomeCanvasGroup* gobj() const { return reinterpret_cast<GnomeCanvasGroup*>(gobject_); } 00097 00098 00099 public: 00100 //C++ methods used to invoke GTK+ virtual functions: 00101 00102 protected: 00103 //GTK+ Virtual Functions (override these to change behaviour): 00104 00105 //Default Signal Handlers:: 00106 00107 00108 private: 00109 ; 00110 public: 00111 friend class Canvas; 00112 explicit Group(Group& parent, double x = 0, double y = 0); 00113 Group(); 00114 00115 00121 Glib::PropertyProxy<double> property_x(); 00122 00128 Glib::PropertyProxy<double> property_y(); 00129 00130 00131 }; 00132 00133 } /* namespace Canvas */ 00134 } /* namespace Gnome */ 00135 00136 namespace Glib 00137 { 00139 Gnome::Canvas::Group* wrap(GnomeCanvasGroup* object, bool take_copy = false); 00140 } 00141 #endif /* _LIBGNOMECANVASMM_GROUP_H */ 00142

Generated on Wed Jul 21 02:22:25 2004 for libgnomecanvasmm by doxygen 1.3.7