00001
00002
00003 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H
00004 #define _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H
00005
00006 #include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <libgnomeuimm/druid-page.h>
00031 #include <gtkmm/box.h>
00032 #include <libgnomeui/gnome-druid-page-standard.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDruidPageStandard GnomeDruidPageStandard;
00037 typedef struct _GnomeDruidPageStandardClass GnomeDruidPageStandardClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace UI
00045 { class DruidPageStandard_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace UI
00052 {
00053
00054
00055 class DruidPageStandard : public DruidPage
00056 {
00057 public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 typedef DruidPageStandard CppObjectType;
00060 typedef DruidPageStandard_Class CppClassType;
00061 typedef GnomeDruidPageStandard BaseObjectType;
00062 typedef GnomeDruidPageStandardClass BaseClassType;
00063 #endif
00064
00065 virtual ~DruidPageStandard();
00066
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068
00069 private:
00070 friend class DruidPageStandard_Class;
00071 static CppClassType druidpagestandard_class_;
00072
00073
00074 DruidPageStandard(const DruidPageStandard&);
00075 DruidPageStandard& operator=(const DruidPageStandard&);
00076
00077 protected:
00078 explicit DruidPageStandard(const Glib::ConstructParams& construct_params);
00079 explicit DruidPageStandard(GnomeDruidPageStandard* 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 GnomeDruidPageStandard* gobj() { return reinterpret_cast<GnomeDruidPageStandard*>(gobject_); }
00091
00093 const GnomeDruidPageStandard* gobj() const { return reinterpret_cast<GnomeDruidPageStandard*>(gobject_); }
00094
00095
00096 public:
00097
00098
00099 protected:
00100
00101
00102
00103
00104
00105 private:
00106
00107
00108 public:
00109
00110 DruidPageStandard();
00111 DruidPageStandard(const Glib::ustring& title, const Glib::RefPtr<Gdk::Pixbuf>& logo_image, const Glib::RefPtr<Gdk::Pixbuf>& top_watermark);
00112
00113
00114 void set_title(const Glib::ustring& title);
00115
00116 void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
00117
00118 void set_top_watermark(const Glib::RefPtr<Gdk::Pixbuf>& top_watermark_image);
00119
00120 void set_title_foreground(const Gdk::Color& color);
00121
00122 void set_background (const Gdk::Color& color);
00123
00124 void set_logo_background(const Gdk::Color& color);
00125
00126 void set_contents_background(const Gdk::Color& color);
00127
00128 void append_item(const Glib::ustring& question_mnemonic, Gtk::Widget& item, const Glib::ustring& additional_info_markup);
00129
00131 Gtk::VBox* get_vbox() const;
00132 Glib::ustring get_title() const;
00133 Glib::RefPtr<Gdk::Pixbuf> get_logo() const;
00134 Glib::RefPtr<Gdk::Pixbuf> get_top_watermark() const;
00135 Gdk::Color get_title_foreground() const;
00136 Gdk::Color get_background() const;
00137 Gdk::Color get_logo_background() const;
00138 Gdk::Color get_contents_background() const;
00139
00145 Glib::PropertyProxy<Glib::ustring> property_title();
00146
00152 Glib::PropertyProxy<Gdk::Pixbuf> property_logo();
00153
00159 Glib::PropertyProxy<Gdk::Pixbuf> property_top_watermark();
00160
00166 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_title_foreground();
00167
00173 Glib::PropertyProxy<Gdk::Color> property_title_foreground_gdk();
00174
00180 Glib::PropertyProxy<bool> property_title_foreground_set();
00181
00187 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_background();
00188
00194 Glib::PropertyProxy<Gdk::Color> property_background_gdk();
00195
00201 Glib::PropertyProxy<bool> property_background_set();
00202
00208 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_logo_background();
00209
00215 Glib::PropertyProxy<Gdk::Color> property_logo_background_gdk();
00216
00222 Glib::PropertyProxy<bool> property_logo_background_set();
00223
00224
00225 };
00226
00227 }
00228 }
00229 namespace Glib
00230 {
00232 Gnome::UI::DruidPageStandard* wrap(GnomeDruidPageStandard* object, bool take_copy = false);
00233 }
00234 #endif
00235