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

Generated on Fri Mar 17 09:38:05 2006 for libgnomecanvasmm by  doxygen 1.4.6