Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

druid.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEUIMM_DRUID_H
00004 #define _LIBGNOMEUIMM_DRUID_H
00005 
00006 #include <glibmm.h>
00007 
00008 /* $Id: druid.hg,v 1.11 2002/06/22 19:06:46 murrayc Exp $ */
00009 
00010 
00011 /* druid.hg
00012  * 
00013  * Copyright (C) 1999 The Gtk-- Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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 /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace UI
00044 { class Druid_Class; } // namespace UI
00045 
00046 } // namespace Gnome
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   //C++ methods used to invoke GTK+ virtual functions:
00097 
00098 protected:
00099   //GTK+ Virtual Functions (override these to change behaviour):
00100 
00101   //Default Signal Handlers::
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 } /* namespace UI */
00163 } /* namespace Gnome */
00164 
00165 
00166 namespace Glib
00167 {
00169   Gnome::UI::Druid* wrap(GnomeDruid* object, bool take_copy = false);
00170 }
00171 #endif /* _LIBGNOMEUIMM_DRUID_H */
00172 

Generated on Sun Sep 11 19:04:58 2005 for libgnomeuimm by  doxygen 1.4.4