libgnomeuimm 2.28.0
druid-page.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEUIMM_DRUID_PAGE_H
4#define _LIBGNOMEUIMM_DRUID_PAGE_H
5
6
7#include <glibmm.h>
8
9/* $Id: druid-page.hg,v 1.10 2002/05/06 16:15:23 murrayc Exp $ */
10
11
12/* druid-page.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
31
32#include <gtkmm/bin.h>
33//#include <libgnome/gnome-defs.h>
34#include <libgnomeui/gnome-druid-page.h>
35
36
37#ifndef DOXYGEN_SHOULD_SKIP_THIS
38typedef struct _GnomeDruidPage GnomeDruidPage;
39typedef struct _GnomeDruidPageClass GnomeDruidPageClass;
40#endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
42
43namespace Gnome
44{
45
46namespace UI
47{ class DruidPage_Class; } // namespace UI
48
49} // namespace Gnome
50namespace Gnome
51{
52
53namespace UI
54{
55
56
57class DruidPage : public Gtk::Bin
58{
59 public:
60#ifndef DOXYGEN_SHOULD_SKIP_THIS
61 typedef DruidPage CppObjectType;
62 typedef DruidPage_Class CppClassType;
63 typedef GnomeDruidPage BaseObjectType;
64 typedef GnomeDruidPageClass BaseClassType;
65#endif /* DOXYGEN_SHOULD_SKIP_THIS */
66
67 virtual ~DruidPage();
68
69#ifndef DOXYGEN_SHOULD_SKIP_THIS
70
71private:
72 friend class DruidPage_Class;
73 static CppClassType druidpage_class_;
74
75 // noncopyable
76 DruidPage(const DruidPage&);
77 DruidPage& operator=(const DruidPage&);
78
79protected:
80 explicit DruidPage(const Glib::ConstructParams& construct_params);
81 explicit DruidPage(GnomeDruidPage* castitem);
82
83#endif /* DOXYGEN_SHOULD_SKIP_THIS */
84
85public:
86#ifndef DOXYGEN_SHOULD_SKIP_THIS
87 static GType get_type() G_GNUC_CONST;
88
89
90 static GType get_base_type() G_GNUC_CONST;
91#endif
92
94 GnomeDruidPage* gobj() { return reinterpret_cast<GnomeDruidPage*>(gobject_); }
95
97 const GnomeDruidPage* gobj() const { return reinterpret_cast<GnomeDruidPage*>(gobject_); }
98
99
100public:
101 //C++ methods used to invoke GTK+ virtual functions:
102#ifdef GLIBMM_VFUNCS_ENABLED
103#endif //GLIBMM_VFUNCS_ENABLED
104
105protected:
106 //GTK+ Virtual Functions (override these to change behaviour):
107#ifdef GLIBMM_VFUNCS_ENABLED
108#endif //GLIBMM_VFUNCS_ENABLED
109
110 //Default Signal Handlers::
111#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112 virtual bool on_next(Gtk::Widget& druid);
113 virtual void on_prepare(Gtk::Widget& druid);
114 virtual bool on_back(Gtk::Widget& druid);
115 virtual void on_finish(Gtk::Widget& druid);
116 virtual bool on_cancel(Gtk::Widget& druid);
117#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
118
119
120private:
121
122public:
124
125
126 bool next();
127
128 void prepare();
129
130 bool back();
131
132 void finish();
133
134 bool cancel();
135
136
142 Glib::SignalProxy1< bool,Gtk::Widget& > signal_next();
143
144
150 Glib::SignalProxy1< void,Gtk::Widget& > signal_prepare();
151
152
158 Glib::SignalProxy1< bool,Gtk::Widget& > signal_back();
159
160
166 Glib::SignalProxy1< void,Gtk::Widget& > signal_finish();
167
168
174 Glib::SignalProxy1< bool,Gtk::Widget& > signal_cancel();
175
176
177/* common functions */
178 virtual void set_bg_color(const Gdk::Color& color);
179 virtual void set_title(const Glib::ustring& title);
180 virtual void set_title_color(const Gdk::Color& color);
181 virtual void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
182 virtual void set_logo_bg_color(const Gdk::Color& color);
183
184
185};
186
187} /* namespace UI */
188} /* namespace Gnome */
189
190
191namespace Glib
192{
201 Gnome::UI::DruidPage* wrap(GnomeDruidPage* object, bool take_copy = false);
202} //namespace Glib
203
204
205#endif /* _LIBGNOMEUIMM_DRUID_PAGE_H */
206
Definition: druid-page.h:58
virtual void set_logo_bg_color(const Gdk::Color &color)
virtual void on_prepare(Gtk::Widget &druid)
Glib::SignalProxy1< bool, Gtk::Widget & > signal_cancel()
virtual void set_bg_color(const Gdk::Color &color)
const GnomeDruidPage * gobj() const
Provides access to the underlying C GtkObject.
Definition: druid-page.h:97
GnomeDruidPage * gobj()
Provides access to the underlying C GtkObject.
Definition: druid-page.h:94
Glib::SignalProxy1< bool, Gtk::Widget & > signal_back()
virtual void set_logo(const Glib::RefPtr< Gdk::Pixbuf > &logo_image)
virtual void set_title_color(const Gdk::Color &color)
Gnome::UI::DruidPage * wrap(GnomeDruidPage *object, bool take_copy=false)
A Glib::wrap() method for this object.
virtual bool on_next(Gtk::Widget &druid)
Glib::SignalProxy1< bool, Gtk::Widget & > signal_next()
virtual void set_title(const Glib::ustring &title)
virtual bool on_back(Gtk::Widget &druid)
virtual void on_finish(Gtk::Widget &druid)
Glib::SignalProxy1< void, Gtk::Widget & > signal_finish()
virtual bool on_cancel(Gtk::Widget &druid)
Glib::SignalProxy1< void, Gtk::Widget & > signal_prepare()
Definition: about.h:306
Definition: about.h:46