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

Generated on Tue Aug 22 15:03:42 2006 for libgnomeuimm by  doxygen 1.4.7