libgnomeuimm 2.28.0
druid.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEUIMM_DRUID_H
4#define _LIBGNOMEUIMM_DRUID_H
5
6
7#include <glibmm.h>
8
9/* $Id: druid.hg,v 1.11 2002/06/22 19:06:46 murrayc Exp $ */
10
11
12/* druid.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#include <gtkmm/container.h>
33#include <libgnomeui/gnome-druid.h>
34
35#ifndef DOXYGEN_SHOULD_SKIP_THIS
36typedef struct _GnomeDruid GnomeDruid;
37typedef struct _GnomeDruidClass GnomeDruidClass;
38#endif /* DOXYGEN_SHOULD_SKIP_THIS */
39
40
41namespace Gnome
42{
43
44namespace UI
45{ class Druid_Class; } // namespace UI
46
47} // namespace Gnome
48namespace Gnome
49{
50
51namespace UI
52{
53
54
55class Druid : public Gtk::Container
56{
57 public:
58#ifndef DOXYGEN_SHOULD_SKIP_THIS
59 typedef Druid CppObjectType;
60 typedef Druid_Class CppClassType;
61 typedef GnomeDruid BaseObjectType;
62 typedef GnomeDruidClass BaseClassType;
63#endif /* DOXYGEN_SHOULD_SKIP_THIS */
64
65 virtual ~Druid();
66
67#ifndef DOXYGEN_SHOULD_SKIP_THIS
68
69private:
70 friend class Druid_Class;
71 static CppClassType druid_class_;
72
73 // noncopyable
74 Druid(const Druid&);
75 Druid& operator=(const Druid&);
76
77protected:
78 explicit Druid(const Glib::ConstructParams& construct_params);
79 explicit Druid(GnomeDruid* castitem);
80
81#endif /* DOXYGEN_SHOULD_SKIP_THIS */
82
83public:
84#ifndef DOXYGEN_SHOULD_SKIP_THIS
85 static GType get_type() G_GNUC_CONST;
86
87
88 static GType get_base_type() G_GNUC_CONST;
89#endif
90
92 GnomeDruid* gobj() { return reinterpret_cast<GnomeDruid*>(gobject_); }
93
95 const GnomeDruid* gobj() const { return reinterpret_cast<GnomeDruid*>(gobject_); }
96
97
98public:
99 //C++ methods used to invoke GTK+ virtual functions:
100#ifdef GLIBMM_VFUNCS_ENABLED
101#endif //GLIBMM_VFUNCS_ENABLED
102
103protected:
104 //GTK+ Virtual Functions (override these to change behaviour):
105#ifdef GLIBMM_VFUNCS_ENABLED
106#endif //GLIBMM_VFUNCS_ENABLED
107
108 //Default Signal Handlers::
109#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
110 virtual void on_cancel();
111 virtual void on_help();
112#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
113
114
115private:
116
117
118public:
120
122
123
124 void set_buttons_sensitive(bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive);
125
126 void set_show_finish(bool show_finish = true);
127
128 void set_show_help(bool show_help = true);
129
130
131 void prepend_page(const DruidPage &page);
132
133 void insert_page(const DruidPage &back_page, const DruidPage &page);
134
135 void append_page(const DruidPage &page);
136
137 void set_page(const DruidPage &page);
138
139
145 Glib::SignalProxy0< void > signal_cancel();
146;
147
153 Glib::SignalProxy0< void > signal_help();
154;
155
156 #ifdef GLIBMM_PROPERTIES_ENABLED
163 Glib::PropertyProxy<bool> property_show_finish() ;
164#endif //#GLIBMM_PROPERTIES_ENABLED
165
166#ifdef GLIBMM_PROPERTIES_ENABLED
173 Glib::PropertyProxy_ReadOnly<bool> property_show_finish() const;
174#endif //#GLIBMM_PROPERTIES_ENABLED
175
176 #ifdef GLIBMM_PROPERTIES_ENABLED
183 Glib::PropertyProxy<bool> property_show_help() ;
184#endif //#GLIBMM_PROPERTIES_ENABLED
185
186#ifdef GLIBMM_PROPERTIES_ENABLED
193 Glib::PropertyProxy_ReadOnly<bool> property_show_help() const;
194#endif //#GLIBMM_PROPERTIES_ENABLED
195
196
197};
198
199} /* namespace UI */
200} /* namespace Gnome */
201
202
203namespace Glib
204{
213 Gnome::UI::Druid* wrap(GnomeDruid* object, bool take_copy = false);
214} //namespace Glib
215
216
217#endif /* _LIBGNOMEUIMM_DRUID_H */
218
Definition: druid-page.h:58
Definition: druid.h:56
virtual void on_help()
DruidPage Page
Definition: druid.h:119
virtual ~Druid()
const GnomeDruid * gobj() const
Provides access to the underlying C GtkObject.
Definition: druid.h:95
void prepend_page(const DruidPage &page)
Gnome::UI::Druid * wrap(GnomeDruid *object, bool take_copy=false)
A Glib::wrap() method for this object.
GnomeDruid * gobj()
Provides access to the underlying C GtkObject.
Definition: druid.h:92
Glib::PropertyProxy< bool > property_show_help()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_show_help(bool show_help=true)
virtual void on_cancel()
void set_buttons_sensitive(bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive)
Glib::PropertyProxy_ReadOnly< bool > property_show_finish() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::SignalProxy0< void > signal_cancel()
void set_show_finish(bool show_finish=true)
void insert_page(const DruidPage &back_page, const DruidPage &page)
Glib::PropertyProxy< bool > property_show_finish()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_page(const DruidPage &page)
Glib::SignalProxy0< void > signal_help()
void append_page(const DruidPage &page)
Glib::PropertyProxy_ReadOnly< bool > property_show_help() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Definition: about.h:306
Definition: about.h:46