datacellrendererinfo.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_DATACELLRENDERERINFO_H
00004 #define _LIBGNOMEDBMM_DATACELLRENDERERINFO_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* datacellrendererinfo.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 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GnomeDbDataCellRendererInfo GnomeDbDataCellRendererInfo;
00036 typedef struct _GnomeDbDataCellRendererInfoClass GnomeDbDataCellRendererInfoClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Db
00044 { class DataCellRendererInfo_Class; } // namespace Db
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049 
00050 namespace Db
00051 {
00052 
00053 
00054 class DataCellRendererInfo : public Gtk::CellRenderer
00055 {
00056   public:
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058   typedef DataCellRendererInfo CppObjectType;
00059   typedef DataCellRendererInfo_Class CppClassType;
00060   typedef GnomeDbDataCellRendererInfo BaseObjectType;
00061   typedef GnomeDbDataCellRendererInfoClass BaseClassType;
00062 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00063 
00064   virtual ~DataCellRendererInfo();
00065 
00066 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00067 
00068 private:
00069   friend class DataCellRendererInfo_Class;
00070   static CppClassType datacellrendererinfo_class_;
00071 
00072   // noncopyable
00073   DataCellRendererInfo(const DataCellRendererInfo&);
00074   DataCellRendererInfo& operator=(const DataCellRendererInfo&);
00075 
00076 protected:
00077   explicit DataCellRendererInfo(const Glib::ConstructParams& construct_params);
00078   explicit DataCellRendererInfo(GnomeDbDataCellRendererInfo* castitem);
00079 
00080 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00081 
00082 public:
00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00084   static GType get_type()      G_GNUC_CONST;
00085   static GType get_base_type() G_GNUC_CONST;
00086 #endif
00087 
00089   GnomeDbDataCellRendererInfo*       gobj()       { return reinterpret_cast<GnomeDbDataCellRendererInfo*>(gobject_); }
00090 
00092   const GnomeDbDataCellRendererInfo* gobj() const { return reinterpret_cast<GnomeDbDataCellRendererInfo*>(gobject_); }
00093 
00094 
00095 public:
00096   //C++ methods used to invoke GTK+ virtual functions:
00097 #ifdef GLIBMM_VFUNCS_ENABLED
00098 #endif //GLIBMM_VFUNCS_ENABLED
00099 
00100 protected:
00101   //GTK+ Virtual Functions (override these to change behaviour):
00102 #ifdef GLIBMM_VFUNCS_ENABLED
00103 #endif //GLIBMM_VFUNCS_ENABLED
00104 
00105   //Default Signal Handlers::
00106 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00107 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108 
00109 
00110 private:
00111 
00112 
00113 public:
00114   // TODO: Use C++ types
00115   explicit DataCellRendererInfo(const Glib::RefPtr<DataStore>& store, 
00116       const Glib::RefPtr<Gda::DataModelIter>& iter, GdaParameterListGroup* group);
00117       
00118   #ifdef GLIBMM_PROPERTIES_ENABLED
00119 
00125   Glib::PropertyProxy<bool> property_editable() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127 
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129 
00135   Glib::PropertyProxy_ReadOnly<bool> property_editable() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137 
00138   #ifdef GLIBMM_PROPERTIES_ENABLED
00139 
00145   Glib::PropertyProxy_WriteOnly<bool> property_to_be_deleted() ;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147 
00148 
00149   #ifdef GLIBMM_PROPERTIES_ENABLED
00150 
00156   Glib::PropertyProxy<guint> property_value_attributes() ;
00157 #endif //#GLIBMM_PROPERTIES_ENABLED
00158 
00159 #ifdef GLIBMM_PROPERTIES_ENABLED
00160 
00166   Glib::PropertyProxy_ReadOnly<guint> property_value_attributes() const;
00167 #endif //#GLIBMM_PROPERTIES_ENABLED
00168 
00169   
00170 };
00171 
00172 } // namespace Db
00173 } // namespace Gnome
00174 
00175 
00176 namespace Glib
00177 {
00183   Gnome::Db::DataCellRendererInfo* wrap(GnomeDbDataCellRendererInfo* object, bool take_copy = false);
00184 } //namespace Glib
00185 
00186 
00187 #endif /* _LIBGNOMEDBMM_DATACELLRENDERERINFO_H */
00188 

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