00001
00002
00003 #ifndef _LIBGNOMEDBMM_ENTRYSHELL_H
00004 #define _LIBGNOMEDBMM_ENTRYSHELL_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <libgnomedb/data-entries/gnome-db-entry-shell.h>
00031 #include <libgdamm/datahandler.h>
00032 #include <gtkmm/viewport.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDbEntryShell GnomeDbEntryShell;
00037 typedef struct _GnomeDbEntryShellClass GnomeDbEntryShellClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace Db
00045 { class EntryShell_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace Db
00052 {
00053
00054
00055 class EntryShell : public Gtk::Viewport
00056 {
00057 public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 typedef EntryShell CppObjectType;
00060 typedef EntryShell_Class CppClassType;
00061 typedef GnomeDbEntryShell BaseObjectType;
00062 typedef GnomeDbEntryShellClass BaseClassType;
00063 #endif
00064
00065 virtual ~EntryShell();
00066
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068
00069 private:
00070 friend class EntryShell_Class;
00071 static CppClassType entryshell_class_;
00072
00073
00074 EntryShell(const EntryShell&);
00075 EntryShell& operator=(const EntryShell&);
00076
00077 protected:
00078 explicit EntryShell(const Glib::ConstructParams& construct_params);
00079 explicit EntryShell(GnomeDbEntryShell* castitem);
00080
00081 #endif
00082
00083 public:
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GnomeDbEntryShell* gobj() { return reinterpret_cast<GnomeDbEntryShell*>(gobject_); }
00091
00093 const GnomeDbEntryShell* gobj() const { return reinterpret_cast<GnomeDbEntryShell*>(gobject_); }
00094
00095
00096 public:
00097
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100
00101 protected:
00102
00103 #ifdef GLIBMM_VFUNCS_ENABLED
00104 #endif //GLIBMM_VFUNCS_ENABLED
00105
00106
00107 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00109
00110
00111 private:
00112
00113
00114 public:
00115
00119 void pack_entry(Gtk::Widget& main_widget);
00120
00124 void refresh();
00125
00126 #ifdef GLIBMM_PROPERTIES_ENABLED
00127
00133 Glib::PropertyProxy<bool> property_actions() ;
00134 #endif //#GLIBMM_PROPERTIES_ENABLED
00135
00136 #ifdef GLIBMM_PROPERTIES_ENABLED
00137
00143 Glib::PropertyProxy_ReadOnly<bool> property_actions() const;
00144 #endif //#GLIBMM_PROPERTIES_ENABLED
00145
00146 #ifdef GLIBMM_PROPERTIES_ENABLED
00147
00153 Glib::PropertyProxy< Glib::RefPtr<Gda::DataHandler> > property_handler() ;
00154 #endif //#GLIBMM_PROPERTIES_ENABLED
00155
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157
00163 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gda::DataHandler> > property_handler() const;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165
00166 #ifdef GLIBMM_PROPERTIES_ENABLED
00167
00173 Glib::PropertyProxy<bool> property_is_cell_renderer() ;
00174 #endif //#GLIBMM_PROPERTIES_ENABLED
00175
00176 #ifdef GLIBMM_PROPERTIES_ENABLED
00177
00183 Glib::PropertyProxy_ReadOnly<bool> property_is_cell_renderer() const;
00184 #endif //#GLIBMM_PROPERTIES_ENABLED
00185
00186
00187 };
00188
00189 }
00190 }
00191
00192
00193 namespace Glib
00194 {
00200 Gnome::Db::EntryShell* wrap(GnomeDbEntryShell* object, bool take_copy = false);
00201 }
00202
00203
00204 #endif
00205