datacellrendererboolean.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_DATACELLRENDERERBOOLEAN_H
00004 #define _LIBGNOMEDBMM_DATACELLRENDERERBOOLEAN_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* datacellrendererboolean.h
00012  * 
00013  * Copyright 2006 libgnomedbmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 
00031 #include <gtkmm/cellrenderer.h>
00032 #include <libgnomedbmm/datastore.h>
00033 
00034 #include <libgdamm/datahandler.h>
00035 
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 typedef struct _GnomeDbDataCellRendererBoolean GnomeDbDataCellRendererBoolean;
00038 typedef struct _GnomeDbDataCellRendererBooleanClass GnomeDbDataCellRendererBooleanClass;
00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00040 
00041 
00042 namespace Gnome
00043 {
00044 
00045 namespace Db
00046 { class DataCellRendererBoolean_Class; } // namespace Db
00047 
00048 } // namespace Gnome
00049 namespace Gnome
00050 {
00051 
00052 namespace Db
00053 {
00054 
00055 
00056 class DataCellRendererBoolean : public Gtk::CellRenderer
00057 {
00058   public:
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060   typedef DataCellRendererBoolean CppObjectType;
00061   typedef DataCellRendererBoolean_Class CppClassType;
00062   typedef GnomeDbDataCellRendererBoolean BaseObjectType;
00063   typedef GnomeDbDataCellRendererBooleanClass BaseClassType;
00064 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00065 
00066   virtual ~DataCellRendererBoolean();
00067 
00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00069 
00070 private:
00071   friend class DataCellRendererBoolean_Class;
00072   static CppClassType datacellrendererboolean_class_;
00073 
00074   // noncopyable
00075   DataCellRendererBoolean(const DataCellRendererBoolean&);
00076   DataCellRendererBoolean& operator=(const DataCellRendererBoolean&);
00077 
00078 protected:
00079   explicit DataCellRendererBoolean(const Glib::ConstructParams& construct_params);
00080   explicit DataCellRendererBoolean(GnomeDbDataCellRendererBoolean* castitem);
00081 
00082 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00083 
00084 public:
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086   static GType get_type()      G_GNUC_CONST;
00087   static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089 
00091   GnomeDbDataCellRendererBoolean*       gobj()       { return reinterpret_cast<GnomeDbDataCellRendererBoolean*>(gobject_); }
00092 
00094   const GnomeDbDataCellRendererBoolean* gobj() const { return reinterpret_cast<GnomeDbDataCellRendererBoolean*>(gobject_); }
00095 
00096 
00097 public:
00098   //C++ methods used to invoke GTK+ virtual functions:
00099 #ifdef GLIBMM_VFUNCS_ENABLED
00100 #endif //GLIBMM_VFUNCS_ENABLED
00101 
00102 protected:
00103   //GTK+ Virtual Functions (override these to change behaviour):
00104 #ifdef GLIBMM_VFUNCS_ENABLED
00105 #endif //GLIBMM_VFUNCS_ENABLED
00106 
00107   //Default Signal Handlers::
00108 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00109 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00110 
00111 
00112 private:
00113 
00114 
00115 public:
00116   // TODO: Use C++ types
00117   explicit DataCellRendererBoolean(const Glib::RefPtr<Gda::DataHandler>& handler, GType type);
00118       
00119   #ifdef GLIBMM_PROPERTIES_ENABLED
00120 
00126   Glib::PropertyProxy<bool> property_editable() ;
00127 #endif //#GLIBMM_PROPERTIES_ENABLED
00128 
00129 #ifdef GLIBMM_PROPERTIES_ENABLED
00130 
00136   Glib::PropertyProxy_ReadOnly<bool> property_editable() const;
00137 #endif //#GLIBMM_PROPERTIES_ENABLED
00138 
00139   #ifdef GLIBMM_PROPERTIES_ENABLED
00140 
00146   Glib::PropertyProxy_WriteOnly<bool> property_to_be_deleted() ;
00147 #endif //#GLIBMM_PROPERTIES_ENABLED
00148 
00149 
00150   #ifdef GLIBMM_PROPERTIES_ENABLED
00151 
00157   Glib::PropertyProxy<Gda::Value> property_value() ;
00158 #endif //#GLIBMM_PROPERTIES_ENABLED
00159 
00160 #ifdef GLIBMM_PROPERTIES_ENABLED
00161 
00167   Glib::PropertyProxy_ReadOnly<Gda::Value> property_value() const;
00168 #endif //#GLIBMM_PROPERTIES_ENABLED
00169 
00170   #ifdef GLIBMM_PROPERTIES_ENABLED
00171 
00177   Glib::PropertyProxy<guint> property_value_attributes() ;
00178 #endif //#GLIBMM_PROPERTIES_ENABLED
00179 
00180 #ifdef GLIBMM_PROPERTIES_ENABLED
00181 
00187   Glib::PropertyProxy_ReadOnly<guint> property_value_attributes() const;
00188 #endif //#GLIBMM_PROPERTIES_ENABLED
00189 
00190   
00191 };
00192 
00193 } // namespace Db
00194 } // namespace Gnome
00195 
00196 
00197 namespace Glib
00198 {
00204   Gnome::Db::DataCellRendererBoolean* wrap(GnomeDbDataCellRendererBoolean* object, bool take_copy = false);
00205 } //namespace Glib
00206 
00207 
00208 #endif /* _LIBGNOMEDBMM_DATACELLRENDERERBOOLEAN_H */
00209 

Generated on Mon Feb 12 16:48:59 2007 for libgnomedbmm by  doxygen 1.4.7