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 Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 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  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library 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   Rect();
00090   explicit Rect(double x, double y, double width, double height);
00091   
00092 
00093 public:
00094 
00095   
00096   static Glib::RefPtr<Rect> create(double x =  0.0, double y =  0.0, double width =  0.0, double height =  0.0);
00097 
00098   
00099   static Glib::RefPtr<Rect> create();
00100 
00101 
00102   #ifdef GLIBMM_PROPERTIES_ENABLED
00103 
00109   Glib::PropertyProxy<double> property_height() ;
00110 #endif //#GLIBMM_PROPERTIES_ENABLED
00111 
00112 #ifdef GLIBMM_PROPERTIES_ENABLED
00113 
00119   Glib::PropertyProxy_ReadOnly<double> property_height() const;
00120 #endif //#GLIBMM_PROPERTIES_ENABLED
00121 
00122   #ifdef GLIBMM_PROPERTIES_ENABLED
00123 
00129   Glib::PropertyProxy<double> property_radius_x() ;
00130 #endif //#GLIBMM_PROPERTIES_ENABLED
00131 
00132 #ifdef GLIBMM_PROPERTIES_ENABLED
00133 
00139   Glib::PropertyProxy_ReadOnly<double> property_radius_x() const;
00140 #endif //#GLIBMM_PROPERTIES_ENABLED
00141 
00142   #ifdef GLIBMM_PROPERTIES_ENABLED
00143 
00149   Glib::PropertyProxy<double> property_radius_y() ;
00150 #endif //#GLIBMM_PROPERTIES_ENABLED
00151 
00152 #ifdef GLIBMM_PROPERTIES_ENABLED
00153 
00159   Glib::PropertyProxy_ReadOnly<double> property_radius_y() const;
00160 #endif //#GLIBMM_PROPERTIES_ENABLED
00161 
00162   #ifdef GLIBMM_PROPERTIES_ENABLED
00163 
00169   Glib::PropertyProxy<double> property_width() ;
00170 #endif //#GLIBMM_PROPERTIES_ENABLED
00171 
00172 #ifdef GLIBMM_PROPERTIES_ENABLED
00173 
00179   Glib::PropertyProxy_ReadOnly<double> property_width() const;
00180 #endif //#GLIBMM_PROPERTIES_ENABLED
00181 
00182   #ifdef GLIBMM_PROPERTIES_ENABLED
00183 
00189   Glib::PropertyProxy<double> property_x() ;
00190 #endif //#GLIBMM_PROPERTIES_ENABLED
00191 
00192 #ifdef GLIBMM_PROPERTIES_ENABLED
00193 
00199   Glib::PropertyProxy_ReadOnly<double> property_x() const;
00200 #endif //#GLIBMM_PROPERTIES_ENABLED
00201 
00202   #ifdef GLIBMM_PROPERTIES_ENABLED
00203 
00209   Glib::PropertyProxy<double> property_y() ;
00210 #endif //#GLIBMM_PROPERTIES_ENABLED
00211 
00212 #ifdef GLIBMM_PROPERTIES_ENABLED
00213 
00219   Glib::PropertyProxy_ReadOnly<double> property_y() const;
00220 #endif //#GLIBMM_PROPERTIES_ENABLED
00221 
00222 
00223 public:
00224 
00225 public:
00226   //C++ methods used to invoke GTK+ virtual functions:
00227 #ifdef GLIBMM_VFUNCS_ENABLED
00228 #endif //GLIBMM_VFUNCS_ENABLED
00229 
00230 protected:
00231   //GTK+ Virtual Functions (override these to change behaviour):
00232 #ifdef GLIBMM_VFUNCS_ENABLED
00233 #endif //GLIBMM_VFUNCS_ENABLED
00234 
00235   //Default Signal Handlers::
00236 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00237 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00238 
00239 
00240 };
00241 
00242 }
00243 
00244 
00245 namespace Glib
00246 {
00255   Glib::RefPtr<Goocanvas::Rect> wrap(GooCanvasRect* object, bool take_copy = false);
00256 }
00257 
00258 
00259 #endif /* _GOOCANVASMM_RECT_H */
00260 

Generated on Fri Apr 18 05:55:11 2008 for goocanvasmm by  doxygen 1.5.5