00001
00002
00003 #ifndef _LIBGNOMEUIMM_DRUID_H
00004 #define _LIBGNOMEUIMM_DRUID_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
00031 #include <gtkmm/container.h>
00032 #include <libgnomeuimm/druid-page.h>
00033 #include <libgnomeui/gnome-druid.h>
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDruid GnomeDruid;
00037 typedef struct _GnomeDruidClass GnomeDruidClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace UI
00045 { class Druid_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace UI
00052 {
00053
00054
00055 class Druid : public Gtk::Container
00056 {
00057 public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 typedef Druid CppObjectType;
00060 typedef Druid_Class CppClassType;
00061 typedef GnomeDruid BaseObjectType;
00062 typedef GnomeDruidClass BaseClassType;
00063 #endif
00064
00065 virtual ~Druid();
00066
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068
00069 private:
00070 friend class Druid_Class;
00071 static CppClassType druid_class_;
00072
00073
00074 Druid(const Druid&);
00075 Druid& operator=(const Druid&);
00076
00077 protected:
00078 explicit Druid(const Glib::ConstructParams& construct_params);
00079 explicit Druid(GnomeDruid* castitem);
00080
00081 #endif
00082
00083 public:
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086
00087
00088 static GType get_base_type() G_GNUC_CONST;
00089 #endif
00090
00092 GnomeDruid* gobj() { return reinterpret_cast<GnomeDruid*>(gobject_); }
00093
00095 const GnomeDruid* gobj() const { return reinterpret_cast<GnomeDruid*>(gobject_); }
00096
00097
00098 public:
00099
00100 #ifdef GLIBMM_VFUNCS_ENABLED
00101 #endif //GLIBMM_VFUNCS_ENABLED
00102
00103 protected:
00104
00105 #ifdef GLIBMM_VFUNCS_ENABLED
00106 #endif //GLIBMM_VFUNCS_ENABLED
00107
00108
00109 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00110 virtual void on_cancel();
00111 virtual void on_help();
00112 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00113
00114
00115 private:
00116
00117
00118 public:
00119 typedef DruidPage Page;
00120
00121 Druid();
00122
00123
00124 void set_buttons_sensitive(bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive);
00125
00126 void set_show_finish(bool show_finish = true);
00127
00128 void set_show_help(bool show_help = true);
00129
00130
00131 void prepend_page(const DruidPage &page);
00132
00133 void insert_page(const DruidPage &back_page, const DruidPage &page);
00134
00135 void append_page(const DruidPage &page);
00136
00137 void set_page(const DruidPage &page);
00138
00139
00145 Glib::SignalProxy0< void > signal_cancel();
00146 ;
00147
00153 Glib::SignalProxy0< void > signal_help();
00154 ;
00155
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157
00163 Glib::PropertyProxy<bool> property_show_finish() ;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165
00166 #ifdef GLIBMM_PROPERTIES_ENABLED
00167
00173 Glib::PropertyProxy_ReadOnly<bool> property_show_finish() const;
00174 #endif //#GLIBMM_PROPERTIES_ENABLED
00175
00176 #ifdef GLIBMM_PROPERTIES_ENABLED
00177
00183 Glib::PropertyProxy<bool> property_show_help() ;
00184 #endif //#GLIBMM_PROPERTIES_ENABLED
00185
00186 #ifdef GLIBMM_PROPERTIES_ENABLED
00187
00193 Glib::PropertyProxy_ReadOnly<bool> property_show_help() const;
00194 #endif //#GLIBMM_PROPERTIES_ENABLED
00195
00196
00197 };
00198
00199 }
00200 }
00201
00202
00203 namespace Glib
00204 {
00213 Gnome::UI::Druid* wrap(GnomeDruid* object, bool take_copy = false);
00214 }
00215
00216
00217 #endif
00218