00001
00002
00003
#ifndef _LIBGNOMEUIMM_DRUID_H
00004
#define _LIBGNOMEUIMM_DRUID_H
00005
00006
#include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
#include <gtkmm/container.h>
00031
#include <libgnomeuimm/druid-page.h>
00032
#include <libgnomeui/gnome-druid.h>
00033
00034
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00035
typedef struct _GnomeDruid GnomeDruid;
00036
typedef struct _GnomeDruidClass GnomeDruidClass;
00037
#endif
00038
00039
00040
namespace Gnome
00041 {
00042
00043
namespace UI
00044 {
class Druid_Class; }
00045
00046 }
00047
namespace Gnome
00048 {
00049
00050
namespace UI
00051 {
00052
00053
00054 class Druid :
public Gtk::
Container
00055 {
00056
public:
00057
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00058
typedef Druid CppObjectType;
00059
typedef Druid_Class CppClassType;
00060
typedef GnomeDruid BaseObjectType;
00061
typedef GnomeDruidClass BaseClassType;
00062
#endif
00063
00064
virtual ~Druid();
00065
00066
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00067
00068
private:
00069
friend class Druid_Class;
00070
static CppClassType druid_class_;
00071
00072
00073
Druid(
const Druid&);
00074
Druid& operator=(
const Druid&);
00075
00076
protected:
00077
explicit Druid(
const Glib::ConstructParams& construct_params);
00078
explicit Druid(GnomeDruid* castitem);
00079
00080
#endif
00081
00082
public:
00083
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00084
static GType get_type() G_GNUC_CONST;
00085
static GType get_base_type() G_GNUC_CONST;
00086
#endif
00087
00089 GnomeDruid*
gobj() {
return reinterpret_cast<GnomeDruid*>(gobject_); }
00090
00092 const GnomeDruid*
gobj()
const {
return reinterpret_cast<GnomeDruid*>(gobject_); }
00093
00094
00095
public:
00096
00097
00098
protected:
00099
00100
00101
00102
virtual void on_cancel();
00103
virtual void on_help();
00104
00105
00106
private:
00107
00108
00109
public:
00110 typedef DruidPage Page;
00111
00112
Druid();
00113
00114
00115
void set_buttons_sensitive(
bool back_sensitive,
bool next_sensitive,
bool cancel_sensitive,
bool help_sensitive);
00116
00117
void set_show_finish(
bool show_finish =
true);
00118
00119
void set_show_help(
bool show_help =
true);
00120
00121
00122
void prepend_page(
const DruidPage &page);
00123
00124
void insert_page(
const DruidPage &back_page,
const DruidPage &page);
00125
00126
void append_page(
const DruidPage &page);
00127
00128
void set_page(
const DruidPage &page);
00129
00130
00135 Glib::SignalProxy0<void>
signal_cancel();
00136 ;
00137
00142 Glib::SignalProxy0<void>
signal_help();
00143 ;
00144
00150 Glib::PropertyProxy<bool>
property_show_finish();
00151
00157 Glib::PropertyProxy<bool>
property_show_help();
00158
00159
00160 };
00161
00162 }
00163 }
00164
00165
00166
namespace Glib
00167 {
00169
Gnome::UI::Druid* wrap(GnomeDruid* object,
bool take_copy =
false);
00170 }
00171
#endif
00172