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 #include <glibmm.h> 00007 00008 /* $Id: druid-page-standard.hg,v 1.12 2003/05/18 12:47:18 murrayc Exp $ */ 00009 00010 00011 /* druid-page-standard.hg 00012 * 00013 * Copyright (C) 1999 The Gtk-- Development Team 00014 * 00015 * This library is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU Library General Public 00017 * License as published by the Free Software Foundation; either 00018 * version 2 of the License, or (at your option) any later version. 00019 * 00020 * This library is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00023 * Library General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU Library General Public 00026 * License along with this library; if not, write to the Free 00027 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 00039 00040 00041 namespace Gnome 00042 { 00043 00044 namespace UI 00045 { class DruidPageStandard_Class; } // namespace UI 00046 00047 } // namespace Gnome 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 // noncopyable 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 /* DOXYGEN_SHOULD_SKIP_THIS */ 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 //C++ methods used to invoke GTK+ virtual functions: 00098 00099 protected: 00100 //GTK+ Virtual Functions (override these to change behaviour): 00101 00102 //Default Signal Handlers:: 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 } /* namespace UI */ 00228 } /* namespace Gnome */ 00229 namespace Glib 00230 { 00232 Gnome::UI::DruidPageStandard* wrap(GnomeDruidPageStandard* object, bool take_copy = false); 00233 } 00234 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_STANDARD_H */ 00235