rect.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_RECT_H
00004 #define _GOOCANVASMM_RECT_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 1998-2006 The gtkmm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Lesser General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2.1 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Lesser General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 
00027 #include <goocanvasmm/itemsimple.h>
00028 
00029 
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _GooCanvasRect GooCanvasRect;
00032 typedef struct _GooCanvasRectClass GooCanvasRectClass;
00033 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00034 
00035 
00036 namespace Goocanvas
00037 { class Rect_Class; } // namespace Goocanvas
00038 namespace Goocanvas
00039 {
00040 
00041 
00042 class Rect : public Goocanvas::ItemSimple
00043 {
00044   
00045 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00046 
00047 public:
00048   typedef Rect CppObjectType;
00049   typedef Rect_Class CppClassType;
00050   typedef GooCanvasRect BaseObjectType;
00051   typedef GooCanvasRectClass BaseClassType;
00052 
00053 private:  friend class Rect_Class;
00054   static CppClassType rect_class_;
00055 
00056 private:
00057   // noncopyable
00058   Rect(const Rect&);
00059   Rect& operator=(const Rect&);
00060 
00061 protected:
00062   explicit Rect(const Glib::ConstructParams& construct_params);
00063   explicit Rect(GooCanvasRect* castitem);
00064 
00065 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00066 
00067 public:
00068   virtual ~Rect();
00069 
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071   static GType get_type()      G_GNUC_CONST;
00072   static GType get_base_type() G_GNUC_CONST;
00073 #endif
00074 
00076   GooCanvasRect*       gobj()       { return reinterpret_cast<GooCanvasRect*>(gobject_); }
00077 
00079   const GooCanvasRect* gobj() const { return reinterpret_cast<GooCanvasRect*>(gobject_); }
00080 
00082   GooCanvasRect* gobj_copy();
00083 
00084 private:
00085 
00086 
00087 protected:
00088 
00089   explicit Rect(double x = 0.0, double y = 0.0, double width = 0.0, double height = 0.0);
00090   
00091 
00092 public:
00093 
00094   
00095   static Glib::RefPtr<Rect> create(double x =  0.0, double y =  0.0, double width =  0.0, double height =  0.0);
00096 
00097 
00098   //We put these in item.hg instead.
00099   //See the comment there.
00100   //_WRAP_PROPERTY("x", double)
00101   //_WRAP_PROPERTY("y", double)
00102   //_WRAP_PROPERTY("width", double)
00103   //_WRAP_PROPERTY("height", double)
00104   #ifdef GLIBMM_PROPERTIES_ENABLED
00105 
00111   Glib::PropertyProxy<double> property_radius_x() ;
00112 #endif //#GLIBMM_PROPERTIES_ENABLED
00113 
00114 #ifdef GLIBMM_PROPERTIES_ENABLED
00115 
00121   Glib::PropertyProxy_ReadOnly<double> property_radius_x() const;
00122 #endif //#GLIBMM_PROPERTIES_ENABLED
00123 
00124   #ifdef GLIBMM_PROPERTIES_ENABLED
00125 
00131   Glib::PropertyProxy<double> property_radius_y() ;
00132 #endif //#GLIBMM_PROPERTIES_ENABLED
00133 
00134 #ifdef GLIBMM_PROPERTIES_ENABLED
00135 
00141   Glib::PropertyProxy_ReadOnly<double> property_radius_y() const;
00142 #endif //#GLIBMM_PROPERTIES_ENABLED
00143 
00144 
00145 public:
00146 
00147 public:
00148   //C++ methods used to invoke GTK+ virtual functions:
00149 #ifdef GLIBMM_VFUNCS_ENABLED
00150 #endif //GLIBMM_VFUNCS_ENABLED
00151 
00152 protected:
00153   //GTK+ Virtual Functions (override these to change behaviour):
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156 
00157   //Default Signal Handlers::
00158 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00159 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00160 
00161 
00162 };
00163 
00164 }
00165 
00166 
00167 namespace Glib
00168 {
00177   Glib::RefPtr<Goocanvas::Rect> wrap(GooCanvasRect* object, bool take_copy = false);
00178 }
00179 
00180 
00181 #endif /* _GOOCANVASMM_RECT_H */
00182 

Generated on Wed Jul 8 04:59:40 2009 for goocanvasmm by  doxygen 1.5.8