00001
00002
00003 #ifndef _LIBGNOMEDBMM_ENTRYSTRING_H
00004 #define _LIBGNOMEDBMM_ENTRYSTRING_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-string.h>
00031 #include <gtkmm/celleditable.h>
00032 #include <libgnomedbmm/entrywrapper.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDbEntryString GnomeDbEntryString;
00037 typedef struct _GnomeDbEntryStringClass GnomeDbEntryStringClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace Db
00045 { class EntryString_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace Db
00052 {
00053
00054
00055 class EntryString : public EntryWrapper,
00056 public Gtk::CellEditable
00057 {
00058 public:
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 typedef EntryString CppObjectType;
00061 typedef EntryString_Class CppClassType;
00062 typedef GnomeDbEntryString BaseObjectType;
00063 typedef GnomeDbEntryStringClass BaseClassType;
00064 #endif
00065
00066 virtual ~EntryString();
00067
00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00069
00070 private:
00071 friend class EntryString_Class;
00072 static CppClassType entrystring_class_;
00073
00074
00075 EntryString(const EntryString&);
00076 EntryString& operator=(const EntryString&);
00077
00078 protected:
00079 explicit EntryString(const Glib::ConstructParams& construct_params);
00080 explicit EntryString(GnomeDbEntryString* castitem);
00081
00082 #endif
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 GnomeDbEntryString* gobj() { return reinterpret_cast<GnomeDbEntryString*>(gobject_); }
00092
00094 const GnomeDbEntryString* gobj() const { return reinterpret_cast<GnomeDbEntryString*>(gobject_); }
00095
00096
00097 public:
00098
00099 #ifdef GLIBMM_VFUNCS_ENABLED
00100 #endif //GLIBMM_VFUNCS_ENABLED
00101
00102 protected:
00103
00104 #ifdef GLIBMM_VFUNCS_ENABLED
00105 #endif //GLIBMM_VFUNCS_ENABLED
00106
00107
00108 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00109 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00110
00111
00112 private:
00113
00114
00115 public:
00116
00117 explicit EntryString(const Glib::RefPtr<Gda::DataHandler>& handler, GType type);
00118
00119 #ifdef GLIBMM_PROPERTIES_ENABLED
00120
00126 Glib::PropertyProxy_ReadOnly<bool> property_editing_cancelled() const;
00127 #endif //#GLIBMM_PROPERTIES_ENABLED
00128
00129
00130 #ifdef GLIBMM_PROPERTIES_ENABLED
00131
00137 Glib::PropertyProxy<bool> property_multiline() ;
00138 #endif //#GLIBMM_PROPERTIES_ENABLED
00139
00140 #ifdef GLIBMM_PROPERTIES_ENABLED
00141
00147 Glib::PropertyProxy_ReadOnly<bool> property_multiline() const;
00148 #endif //#GLIBMM_PROPERTIES_ENABLED
00149
00150
00151 };
00152
00153 }
00154 }
00155
00156
00157 namespace Glib
00158 {
00164 Gnome::Db::EntryString* wrap(GnomeDbEntryString* object, bool take_copy = false);
00165 }
00166
00167
00168 #endif
00169