widget.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMECANVASMM_WIDGET_H
00004 #define _LIBGNOMECANVASMM_WIDGET_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: widget.hg,v 1.7 2003/12/19 15:28:43 murrayc Exp $ */
00010 
00011 /* widget.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 #include <libgnomecanvas/gnome-canvas-widget.h>
00035 #include <gtkmm/widget.h>
00036 
00037 
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeCanvasWidget GnomeCanvasWidget;
00040 typedef struct _GnomeCanvasWidgetClass GnomeCanvasWidgetClass;
00041 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00042 
00043 
00044 namespace Gnome
00045 {
00046 
00047 namespace Canvas
00048 { class Widget_Class; } // namespace Canvas
00049 
00050 } // namespace Gnome
00051 namespace Gnome
00052 {
00053 
00054 namespace Canvas
00055 {
00056 
00057 class Group;
00058 
00059 
00060 class Widget : public Item
00061 {
00062   public:
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064   typedef Widget CppObjectType;
00065   typedef Widget_Class CppClassType;
00066   typedef GnomeCanvasWidget BaseObjectType;
00067   typedef GnomeCanvasWidgetClass BaseClassType;
00068 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00069 
00070   virtual ~Widget();
00071 
00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00073 
00074 private:
00075   friend class Widget_Class;
00076   static CppClassType widget_class_;
00077 
00078   // noncopyable
00079   Widget(const Widget&);
00080   Widget& operator=(const Widget&);
00081 
00082 protected:
00083   explicit Widget(const Glib::ConstructParams& construct_params);
00084   explicit Widget(GnomeCanvasWidget* castitem);
00085 
00086 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00087 
00088 public:
00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00090   static GType get_type()      G_GNUC_CONST;
00091   static GType get_base_type() G_GNUC_CONST;
00092 #endif
00093 
00095   GnomeCanvasWidget*       gobj()       { return reinterpret_cast<GnomeCanvasWidget*>(gobject_); }
00096 
00098   const GnomeCanvasWidget* gobj() const { return reinterpret_cast<GnomeCanvasWidget*>(gobject_); }
00099 
00100 
00101 public:
00102   //C++ methods used to invoke GTK+ virtual functions:
00103 #ifdef GLIBMM_VFUNCS_ENABLED
00104 #endif //GLIBMM_VFUNCS_ENABLED
00105 
00106 protected:
00107   //GTK+ Virtual Functions (override these to change behaviour):
00108 #ifdef GLIBMM_VFUNCS_ENABLED
00109 #endif //GLIBMM_VFUNCS_ENABLED
00110 
00111   //Default Signal Handlers::
00112 
00113 
00114 private:
00115 
00116 public:
00117   Widget(Group& parent, double x, double y, Gtk::Widget& w);
00118   explicit Widget(Group& parent);
00119 
00120   #ifdef GLIBMM_PROPERTIES_ENABLED
00121 
00127   Glib::PropertyProxy<Gtk::Widget*> property_widget() ;
00128 #endif //#GLIBMM_PROPERTIES_ENABLED
00129 
00130 #ifdef GLIBMM_PROPERTIES_ENABLED
00131 
00137   Glib::PropertyProxy_ReadOnly<Gtk::Widget*> property_widget() const;
00138 #endif //#GLIBMM_PROPERTIES_ENABLED
00139 
00140   #ifdef GLIBMM_PROPERTIES_ENABLED
00141 
00147   Glib::PropertyProxy<double> property_x() ;
00148 #endif //#GLIBMM_PROPERTIES_ENABLED
00149 
00150 #ifdef GLIBMM_PROPERTIES_ENABLED
00151 
00157   Glib::PropertyProxy_ReadOnly<double> property_x() const;
00158 #endif //#GLIBMM_PROPERTIES_ENABLED
00159 
00160   #ifdef GLIBMM_PROPERTIES_ENABLED
00161 
00167   Glib::PropertyProxy<double> property_y() ;
00168 #endif //#GLIBMM_PROPERTIES_ENABLED
00169 
00170 #ifdef GLIBMM_PROPERTIES_ENABLED
00171 
00177   Glib::PropertyProxy_ReadOnly<double> property_y() const;
00178 #endif //#GLIBMM_PROPERTIES_ENABLED
00179 
00180   #ifdef GLIBMM_PROPERTIES_ENABLED
00181 
00187   Glib::PropertyProxy<double> property_width() ;
00188 #endif //#GLIBMM_PROPERTIES_ENABLED
00189 
00190 #ifdef GLIBMM_PROPERTIES_ENABLED
00191 
00197   Glib::PropertyProxy_ReadOnly<double> property_width() const;
00198 #endif //#GLIBMM_PROPERTIES_ENABLED
00199 
00200   #ifdef GLIBMM_PROPERTIES_ENABLED
00201 
00207   Glib::PropertyProxy<double> property_height() ;
00208 #endif //#GLIBMM_PROPERTIES_ENABLED
00209 
00210 #ifdef GLIBMM_PROPERTIES_ENABLED
00211 
00217   Glib::PropertyProxy_ReadOnly<double> property_height() const;
00218 #endif //#GLIBMM_PROPERTIES_ENABLED
00219 
00220   #ifdef GLIBMM_PROPERTIES_ENABLED
00221 
00227   Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
00228 #endif //#GLIBMM_PROPERTIES_ENABLED
00229 
00230 #ifdef GLIBMM_PROPERTIES_ENABLED
00231 
00237   Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
00238 #endif //#GLIBMM_PROPERTIES_ENABLED
00239 
00240   #ifdef GLIBMM_PROPERTIES_ENABLED
00241 
00247   Glib::PropertyProxy<bool> property_size_pixels() ;
00248 #endif //#GLIBMM_PROPERTIES_ENABLED
00249 
00250 #ifdef GLIBMM_PROPERTIES_ENABLED
00251 
00257   Glib::PropertyProxy_ReadOnly<bool> property_size_pixels() const;
00258 #endif //#GLIBMM_PROPERTIES_ENABLED
00259 
00260 
00261 };
00262 
00263 } /* namespace Canvas */
00264 } /* namespace Gnome */
00265 
00266 
00267 namespace Glib
00268 {
00274   Gnome::Canvas::Widget* wrap(GnomeCanvasWidget* object, bool take_copy = false);
00275 } //namespace Glib
00276 
00277 
00278 #endif /* _LIBGNOMECANVASMM_WIDGET_H */
00279 

Generated on Tue Jan 2 09:31:02 2007 for libgnomecanvasmm by  doxygen 1.5.1