00001
00002
00003 #ifndef _HILDON_LIBSMM_FIND_TOOLBAR_H
00004 #define _HILDON_LIBSMM_FIND_TOOLBAR_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 <gtkmm/toolbar.h>
00031 #include <gtkmm/liststore.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _HildonFindToolbar HildonFindToolbar;
00036 typedef struct _HildonFindToolbarClass HildonFindToolbarClass;
00037 #endif
00038
00039
00040 namespace Hildon
00041 { class FindToolbar_Class; }
00042 namespace Hildon
00043 {
00044
00050 class FindToolbar : public Gtk::Toolbar
00051 {
00052 public:
00053 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00054 typedef FindToolbar CppObjectType;
00055 typedef FindToolbar_Class CppClassType;
00056 typedef HildonFindToolbar BaseObjectType;
00057 typedef HildonFindToolbarClass BaseClassType;
00058 #endif
00059
00060 virtual ~FindToolbar();
00061
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063
00064 private:
00065 friend class FindToolbar_Class;
00066 static CppClassType findtoolbar_class_;
00067
00068
00069 FindToolbar(const FindToolbar&);
00070 FindToolbar& operator=(const FindToolbar&);
00071
00072 protected:
00073 explicit FindToolbar(const Glib::ConstructParams& construct_params);
00074 explicit FindToolbar(HildonFindToolbar* castitem);
00075
00076 #endif
00077
00078 public:
00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00080 static GType get_type() G_GNUC_CONST;
00081 static GType get_base_type() G_GNUC_CONST;
00082 #endif
00083
00085 HildonFindToolbar* gobj() { return reinterpret_cast<HildonFindToolbar*>(gobject_); }
00086
00088 const HildonFindToolbar* gobj() const { return reinterpret_cast<HildonFindToolbar*>(gobject_); }
00089
00090
00091 public:
00092
00093 #ifdef GLIBMM_VFUNCS_ENABLED
00094 #endif //GLIBMM_VFUNCS_ENABLED
00095
00096 protected:
00097
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100
00101
00102 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00103 virtual void on_search();
00104 virtual void on_close();
00105 virtual void on_invalid_input();
00106 virtual bool on_history_append();
00107 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108
00109
00110 private:
00111
00112 public:
00113 FindToolbar();
00114 explicit FindToolbar(const Glib::ustring& label);
00115 explicit FindToolbar(const Glib::ustring& label, const Glib::RefPtr<Gtk::ListStore>& list, int column);
00116
00117
00122 void highlight_entry(bool get_focus = true);
00123
00124
00125 Glib::SignalProxy0< void > signal_search();
00126
00127
00128 Glib::SignalProxy0< void > signal_close();
00129
00130
00131 Glib::SignalProxy0< void > signal_invalid_input();
00132
00133
00134 Glib::SignalProxy0< bool > signal_history_append();
00135
00136
00137 #ifdef GLIBMM_PROPERTIES_ENABLED
00138
00144 Glib::PropertyProxy<Glib::ustring> property_label() ;
00145 #endif //#GLIBMM_PROPERTIES_ENABLED
00146
00147 #ifdef GLIBMM_PROPERTIES_ENABLED
00148
00154 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_label() const;
00155 #endif //#GLIBMM_PROPERTIES_ENABLED
00156
00157 #ifdef GLIBMM_PROPERTIES_ENABLED
00158
00164 Glib::PropertyProxy<Glib::ustring> property_prefix() ;
00165 #endif //#GLIBMM_PROPERTIES_ENABLED
00166
00167 #ifdef GLIBMM_PROPERTIES_ENABLED
00168
00174 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_prefix() const;
00175 #endif //#GLIBMM_PROPERTIES_ENABLED
00176
00177 #ifdef GLIBMM_PROPERTIES_ENABLED
00178
00184 Glib::PropertyProxy< Glib::RefPtr<Gtk::ListStore> > property_list() ;
00185 #endif //#GLIBMM_PROPERTIES_ENABLED
00186
00187 #ifdef GLIBMM_PROPERTIES_ENABLED
00188
00194 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gtk::ListStore> > property_list() const;
00195 #endif //#GLIBMM_PROPERTIES_ENABLED
00196
00197 #ifdef GLIBMM_PROPERTIES_ENABLED
00198
00204 Glib::PropertyProxy<int> property_column() ;
00205 #endif //#GLIBMM_PROPERTIES_ENABLED
00206
00207 #ifdef GLIBMM_PROPERTIES_ENABLED
00208
00214 Glib::PropertyProxy_ReadOnly<int> property_column() const;
00215 #endif //#GLIBMM_PROPERTIES_ENABLED
00216
00217 #ifdef GLIBMM_PROPERTIES_ENABLED
00218
00224 Glib::PropertyProxy<int> property_max_characters() ;
00225 #endif //#GLIBMM_PROPERTIES_ENABLED
00226
00227 #ifdef GLIBMM_PROPERTIES_ENABLED
00228
00234 Glib::PropertyProxy_ReadOnly<int> property_max_characters() const;
00235 #endif //#GLIBMM_PROPERTIES_ENABLED
00236
00237 #ifdef GLIBMM_PROPERTIES_ENABLED
00238
00244 Glib::PropertyProxy<int> property_history_limit() ;
00245 #endif //#GLIBMM_PROPERTIES_ENABLED
00246
00247 #ifdef GLIBMM_PROPERTIES_ENABLED
00248
00254 Glib::PropertyProxy_ReadOnly<int> property_history_limit() const;
00255 #endif //#GLIBMM_PROPERTIES_ENABLED
00256
00257
00258 };
00259
00260 }
00261
00262
00263 namespace Glib
00264 {
00270 Hildon::FindToolbar* wrap(HildonFindToolbar* object, bool take_copy = false);
00271 }
00272
00273
00274 #endif
00275