00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H 00004 #define _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H 00005 00006 00007 #include <glibmm.h> 00008 00009 /* $Id: druid-page-standard.hg,v 1.13 2004/06/06 21:13:08 murrayc Exp $ */ 00010 00011 00012 /* druid-page-standard.hg 00013 * 00014 * Copyright (C) 1999 The Gtk-- Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Library General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Library General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Library General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <libgnomeuimm/druid-page.h> 00032 #include <gtkmm/box.h> 00033 #include <libgnomeui/gnome-druid-page-standard.h> 00034 00035 00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00037 typedef struct _GnomeDruidPageStandard GnomeDruidPageStandard; 00038 typedef struct _GnomeDruidPageStandardClass GnomeDruidPageStandardClass; 00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00040 00041 00042 namespace Gnome 00043 { 00044 00045 namespace UI 00046 { class DruidPageStandard_Class; } // namespace UI 00047 00048 } // namespace Gnome 00049 namespace Gnome 00050 { 00051 00052 namespace UI 00053 { 00054 00055 00056 class DruidPageStandard : public DruidPage 00057 { 00058 public: 00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00060 typedef DruidPageStandard CppObjectType; 00061 typedef DruidPageStandard_Class CppClassType; 00062 typedef GnomeDruidPageStandard BaseObjectType; 00063 typedef GnomeDruidPageStandardClass BaseClassType; 00064 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00065 00066 virtual ~DruidPageStandard(); 00067 00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00069 00070 private: 00071 friend class DruidPageStandard_Class; 00072 static CppClassType druidpagestandard_class_; 00073 00074 // noncopyable 00075 DruidPageStandard(const DruidPageStandard&); 00076 DruidPageStandard& operator=(const DruidPageStandard&); 00077 00078 protected: 00079 explicit DruidPageStandard(const Glib::ConstructParams& construct_params); 00080 explicit DruidPageStandard(GnomeDruidPageStandard* castitem); 00081 00082 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 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 GnomeDruidPageStandard* gobj() { return reinterpret_cast<GnomeDruidPageStandard*>(gobject_); } 00092 00094 const GnomeDruidPageStandard* gobj() const { return reinterpret_cast<GnomeDruidPageStandard*>(gobject_); } 00095 00096 00097 public: 00098 //C++ methods used to invoke GTK+ virtual functions: 00099 00100 protected: 00101 //GTK+ Virtual Functions (override these to change behaviour): 00102 00103 //Default Signal Handlers:: 00104 00105 00106 private: 00107 00108 00109 public: 00110 00111 DruidPageStandard(); 00112 DruidPageStandard(const Glib::ustring& title, const Glib::RefPtr<Gdk::Pixbuf>& logo_image, const Glib::RefPtr<Gdk::Pixbuf>& top_watermark); 00113 00114 00115 void set_title(const Glib::ustring& title); 00116 00117 void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image); 00118 00119 void set_top_watermark(const Glib::RefPtr<Gdk::Pixbuf>& top_watermark_image); 00120 00121 void set_title_foreground(const Gdk::Color& color); 00122 00123 void set_background (const Gdk::Color& color); 00124 00125 void set_logo_background(const Gdk::Color& color); 00126 00127 void set_contents_background(const Gdk::Color& color); 00128 00129 void append_item(const Glib::ustring& question_mnemonic, Gtk::Widget& item, const Glib::ustring& additional_info_markup); 00130 00132 Gtk::VBox* get_vbox() const; 00133 Glib::ustring get_title() const; 00134 Glib::RefPtr<Gdk::Pixbuf> get_logo() const; 00135 Glib::RefPtr<Gdk::Pixbuf> get_top_watermark() const; 00136 Gdk::Color get_title_foreground() const; 00137 Gdk::Color get_background() const; 00138 Gdk::Color get_logo_background() const; 00139 Gdk::Color get_contents_background() const; 00140 00147 Glib::PropertyProxy<Glib::ustring> property_title() ; 00148 00155 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_title() const; 00156 00163 Glib::PropertyProxy<Gdk::Pixbuf> property_logo() ; 00164 00171 Glib::PropertyProxy_ReadOnly<Gdk::Pixbuf> property_logo() const; 00172 00179 Glib::PropertyProxy<Gdk::Pixbuf> property_top_watermark() ; 00180 00187 Glib::PropertyProxy_ReadOnly<Gdk::Pixbuf> property_top_watermark() const; 00188 00195 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_title_foreground() ; 00196 00197 00204 Glib::PropertyProxy<Gdk::Color> property_title_foreground_gdk() ; 00205 00212 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_title_foreground_gdk() const; 00213 00220 Glib::PropertyProxy<bool> property_title_foreground_set() ; 00221 00228 Glib::PropertyProxy_ReadOnly<bool> property_title_foreground_set() const; 00229 00236 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_background() ; 00237 00238 00245 Glib::PropertyProxy<Gdk::Color> property_background_gdk() ; 00246 00253 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_background_gdk() const; 00254 00261 Glib::PropertyProxy<bool> property_background_set() ; 00262 00269 Glib::PropertyProxy_ReadOnly<bool> property_background_set() const; 00270 00277 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_logo_background() ; 00278 00279 00286 Glib::PropertyProxy<Gdk::Color> property_logo_background_gdk() ; 00287 00294 Glib::PropertyProxy_ReadOnly<Gdk::Color> property_logo_background_gdk() const; 00295 00296 //gtkmmproc error: contents-background : property defs lookup failed. 00297 //gtkmmproc error: contents-background-gdk : property defs lookup failed. 00298 //gtkmmproc error: contents-background-set : property defs lookup failed. 00299 00300 00301 }; 00302 00303 } /* namespace UI */ 00304 } /* namespace Gnome */ 00305 00306 namespace Glib 00307 { 00313 Gnome::UI::DruidPageStandard* wrap(GnomeDruidPageStandard* object, bool take_copy = false); 00314 } //namespace Glib 00315 00316 00317 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H */ 00318