Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

druid-page-edge.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H 00004 #define _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H 00005 00006 #include <glibmm.h> 00007 00008 /* $Id: druid-page-edge.hg,v 1.2 2002/09/16 13:51:46 murrayc Exp $ */ 00009 00010 00011 /* druid-page-edge.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 <libgnomeui/gnome-druid-page-edge.h> 00032 00033 00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00035 typedef struct _GnomeDruidPageEdge GnomeDruidPageEdge; 00036 typedef struct _GnomeDruidPageEdgeClass GnomeDruidPageEdgeClass; 00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00038 00039 00040 namespace Gnome 00041 { 00042 00043 namespace UI 00044 { class DruidPageEdge_Class; } // namespace UI 00045 00046 } // namespace Gnome 00047 namespace Gnome 00048 { 00049 00050 namespace UI 00051 { 00052 00058 enum EdgePosition 00059 { 00060 EDGE_START, 00061 EDGE_FINISH, 00062 EDGE_OTHER, 00063 EDGE_LAST 00064 }; 00065 00066 } // namespace UI 00067 00068 } // namespace Gnome 00069 00070 00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00072 namespace Glib 00073 { 00074 00075 template <> 00076 class Value<Gnome::UI::EdgePosition> : public Glib::Value_Enum<Gnome::UI::EdgePosition> 00077 { 00078 public: 00079 static GType value_type() G_GNUC_CONST; 00080 }; 00081 00082 } // namespace Glib 00083 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00084 00085 00086 namespace Gnome 00087 { 00088 00089 namespace UI 00090 { 00091 00092 00093 class DruidPageEdge : public DruidPage 00094 { 00095 public: 00096 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00097 typedef DruidPageEdge CppObjectType; 00098 typedef DruidPageEdge_Class CppClassType; 00099 typedef GnomeDruidPageEdge BaseObjectType; 00100 typedef GnomeDruidPageEdgeClass BaseClassType; 00101 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00102 00103 virtual ~DruidPageEdge(); 00104 00105 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00106 00107 private: 00108 friend class DruidPageEdge_Class; 00109 static CppClassType druidpageedge_class_; 00110 00111 // noncopyable 00112 DruidPageEdge(const DruidPageEdge&); 00113 DruidPageEdge& operator=(const DruidPageEdge&); 00114 00115 protected: 00116 explicit DruidPageEdge(const Glib::ConstructParams& construct_params); 00117 explicit DruidPageEdge(GnomeDruidPageEdge* castitem); 00118 00119 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00120 00121 public: 00122 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00123 static GType get_type() G_GNUC_CONST; 00124 static GType get_base_type() G_GNUC_CONST; 00125 #endif 00126 00128 GnomeDruidPageEdge* gobj() { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); } 00129 00131 const GnomeDruidPageEdge* gobj() const { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); } 00132 00133 00134 public: 00135 //C++ methods used to invoke GTK+ virtual functions: 00136 00137 protected: 00138 //GTK+ Virtual Functions (override these to change behaviour): 00139 00140 //Default Signal Handlers:: 00141 00142 00143 private: 00144 00145 00146 public: 00147 00148 explicit DruidPageEdge(EdgePosition position = EDGE_START, bool antialiased = true); 00149 DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text, bool antialiased = true); 00150 DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text, 00151 const Glib::RefPtr<Gdk::Pixbuf>& logo, const Glib::RefPtr<Gdk::Pixbuf>& watermark, const Glib::RefPtr<Gdk::Pixbuf>& top_watermark, 00152 bool antialiased = true); 00153 00154 00155 void set_bg_color(const Gdk::Color& color); 00156 00157 void set_textbox_color(const Gdk::Color& color); 00158 00159 void set_logo_bg_color(const Gdk::Color& color); 00160 00161 void set_title_color(const Gdk::Color& color); 00162 00163 void set_text_color(const Gdk::Color& color); 00164 00165 void set_text(const Glib::ustring& text); 00166 00167 void set_title(const Glib::ustring& title); 00168 00169 void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image); 00170 00171 void set_watermark(const Glib::RefPtr<Gdk::Pixbuf>& watermark); 00172 00173 void set_top_watermark(const Glib::RefPtr<Gdk::Pixbuf>& top_watermark); 00174 00175 00176 }; 00177 00178 } /* namespace UI */ 00179 } /* namespace Gnome */ 00180 00181 00182 namespace Glib 00183 { 00185 Gnome::UI::DruidPageEdge* wrap(GnomeDruidPageEdge* object, bool take_copy = false); 00186 } 00187 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H */ 00188

Generated on Fri Aug 13 02:11:00 2004 for libgnomeuimm by doxygen 1.3.7