libgnomeuimm  2.28.0
druid-page-edge.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H
4 #define _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H
5 
6 
7 #include <glibmm.h>
8 
9 /* $Id: druid-page-edge.hg,v 1.2 2002/09/16 13:51:46 murrayc Exp $ */
10 
11 
12 /* druid-page-edge.hg
13  *
14  * Copyright (C) 1999 The Gtk-- Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
32 #include <libgnomeui/gnome-druid-page-edge.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GnomeDruidPageEdge GnomeDruidPageEdge;
37 typedef struct _GnomeDruidPageEdgeClass GnomeDruidPageEdgeClass;
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 namespace Gnome
42 {
43 
44 namespace UI
45 { class DruidPageEdge_Class; } // namespace UI
46 
47 } // namespace Gnome
48 namespace Gnome
49 {
50 
51 namespace UI
52 {
53 
60 {
64  EDGE_LAST
65 };
66 
67 } // namespace UI
68 
69 } // namespace Gnome
70 
71 
72 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73 namespace Glib
74 {
75 
76 template <>
77 class Value<Gnome::UI::EdgePosition> : public Glib::Value_Enum<Gnome::UI::EdgePosition>
78 {
79 public:
80  static GType value_type() G_GNUC_CONST;
81 };
82 
83 } // namespace Glib
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85 
86 
87 namespace Gnome
88 {
89 
90 namespace UI
91 {
92 
93 
94 class DruidPageEdge : public DruidPage
95 {
96  public:
97 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98  typedef DruidPageEdge CppObjectType;
99  typedef DruidPageEdge_Class CppClassType;
100  typedef GnomeDruidPageEdge BaseObjectType;
101  typedef GnomeDruidPageEdgeClass BaseClassType;
102 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
103 
104  virtual ~DruidPageEdge();
105 
106 #ifndef DOXYGEN_SHOULD_SKIP_THIS
107 
108 private:
109  friend class DruidPageEdge_Class;
110  static CppClassType druidpageedge_class_;
111 
112  // noncopyable
114  DruidPageEdge& operator=(const DruidPageEdge&);
115 
116 protected:
117  explicit DruidPageEdge(const Glib::ConstructParams& construct_params);
118  explicit DruidPageEdge(GnomeDruidPageEdge* castitem);
119 
120 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
121 
122 public:
123 #ifndef DOXYGEN_SHOULD_SKIP_THIS
124  static GType get_type() G_GNUC_CONST;
125 
126 
127  static GType get_base_type() G_GNUC_CONST;
128 #endif
129 
131  GnomeDruidPageEdge* gobj() { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); }
132 
134  const GnomeDruidPageEdge* gobj() const { return reinterpret_cast<GnomeDruidPageEdge*>(gobject_); }
135 
136 
137 public:
138  //C++ methods used to invoke GTK+ virtual functions:
139 #ifdef GLIBMM_VFUNCS_ENABLED
140 #endif //GLIBMM_VFUNCS_ENABLED
141 
142 protected:
143  //GTK+ Virtual Functions (override these to change behaviour):
144 #ifdef GLIBMM_VFUNCS_ENABLED
145 #endif //GLIBMM_VFUNCS_ENABLED
146 
147  //Default Signal Handlers::
148 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
149 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
150 
151 
152 private:
153 
154 
155 public:
156 
157  explicit DruidPageEdge(EdgePosition position = EDGE_START, bool antialiased = true);
158  DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text, bool antialiased = true);
159  DruidPageEdge(EdgePosition position, const Glib::ustring& title, const Glib::ustring& text,
160  const Glib::RefPtr<Gdk::Pixbuf>& logo, const Glib::RefPtr<Gdk::Pixbuf>& watermark, const Glib::RefPtr<Gdk::Pixbuf>& top_watermark,
161  bool antialiased = true);
162 
163 
164  void set_bg_color(const Gdk::Color& color);
165 
166  void set_textbox_color(const Gdk::Color& color);
167 
168  void set_logo_bg_color(const Gdk::Color& color);
169 
170  void set_title_color(const Gdk::Color& color);
171 
172  void set_text_color(const Gdk::Color& color);
173 
174  void set_text(const Glib::ustring& text);
175 
176  void set_title(const Glib::ustring& title);
177 
178  void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
179 
180  void set_watermark(const Glib::RefPtr<Gdk::Pixbuf>& watermark);
181 
182  void set_top_watermark(const Glib::RefPtr<Gdk::Pixbuf>& top_watermark);
183 
184 
185 };
186 
187 } /* namespace UI */
188 } /* namespace Gnome */
189 
190 
191 namespace Glib
192 {
201  Gnome::UI::DruidPageEdge* wrap(GnomeDruidPageEdge* object, bool take_copy = false);
202 } //namespace Glib
203 
204 
205 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_EDGE_H */
206 
Gnome::UI::DruidPageEdge::set_top_watermark
void set_top_watermark(const Glib::RefPtr< Gdk::Pixbuf > &top_watermark)
Gnome::UI::DruidPageEdge::set_text
void set_text(const Glib::ustring &text)
Gnome
Definition: about.h:46
Gnome::UI::DruidPageEdge::set_textbox_color
void set_textbox_color(const Gdk::Color &color)
Gnome::UI::DruidPageEdge::set_watermark
void set_watermark(const Glib::RefPtr< Gdk::Pixbuf > &watermark)
Gnome::UI::DruidPageEdge::set_text_color
void set_text_color(const Gdk::Color &color)
Gnome::UI::EdgePosition
EdgePosition
Definition: druid-page-edge.h:60
Gnome::UI::DruidPageEdge::gobj
GnomeDruidPageEdge * gobj()
Provides access to the underlying C GtkObject.
Definition: druid-page-edge.h:131
Gnome::UI::DruidPageEdge
Definition: druid-page-edge.h:95
Gnome::UI::EDGE_FINISH
@ EDGE_FINISH
Definition: druid-page-edge.h:62
Gnome::UI::DruidPageEdge::wrap
Gnome::UI::DruidPageEdge * wrap(GnomeDruidPageEdge *object, bool take_copy=false)
A Glib::wrap() method for this object.
Gnome::UI::DruidPage
Definition: druid-page.h:58
Gnome::UI::DruidPageEdge::set_title_color
void set_title_color(const Gdk::Color &color)
Gnome::UI::DruidPageEdge::DruidPageEdge
DruidPageEdge(EdgePosition position, const Glib::ustring &title, const Glib::ustring &text, bool antialiased=true)
Gnome::UI::DruidPageEdge::DruidPageEdge
DruidPageEdge(EdgePosition position, const Glib::ustring &title, const Glib::ustring &text, const Glib::RefPtr< Gdk::Pixbuf > &logo, const Glib::RefPtr< Gdk::Pixbuf > &watermark, const Glib::RefPtr< Gdk::Pixbuf > &top_watermark, bool antialiased=true)
Gnome::UI::EDGE_START
@ EDGE_START
Definition: druid-page-edge.h:61
Gnome::UI::DruidPageEdge::set_logo
void set_logo(const Glib::RefPtr< Gdk::Pixbuf > &logo_image)
Gnome::UI::DruidPageEdge::set_title
void set_title(const Glib::ustring &title)
Gnome::UI::DruidPageEdge::~DruidPageEdge
virtual ~DruidPageEdge()
Gnome::UI::DruidPageEdge::DruidPageEdge
DruidPageEdge(EdgePosition position=EDGE_START, bool antialiased=true)
Gnome::UI::EDGE_OTHER
@ EDGE_OTHER
Definition: druid-page-edge.h:63
Gnome::UI::DruidPageEdge::set_bg_color
void set_bg_color(const Gdk::Color &color)
Gnome::UI::DruidPageEdge::gobj
const GnomeDruidPageEdge * gobj() const
Provides access to the underlying C GtkObject.
Definition: druid-page-edge.h:134
Gnome::UI::EDGE_LAST
@ EDGE_LAST
Definition: druid-page-edge.h:64
Glib
Definition: about.h:306
druid-page.h
Gnome::UI::DruidPageEdge::set_logo_bg_color
void set_logo_bg_color(const Gdk::Color &color)