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 
00007 #include <glibmm.h>
00008 
00009 /* $Id: druid.hg,v 1.11 2002/06/22 19:06:46 murrayc Exp $ */
00010 
00011 
00012 /* druid.hg
00013  * 
00014  * Copyright (C) 1999 The Gtk-- Development Team
00015  *
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Library General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2 of the License, or (at your option) any later version.
00020  *
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Library General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU Library General Public
00027  * License along with this library; if not, write to the Free
00028  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00029  */
00030 
00031 #include <gtkmm/container.h>
00032 #include <libgnomeuimm/druid-page.h>
00033 #include <libgnomeui/gnome-druid.h>
00034 
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDruid GnomeDruid;
00037 typedef struct _GnomeDruidClass GnomeDruidClass;
00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00039 
00040 
00041 namespace Gnome
00042 {
00043 
00044 namespace UI
00045 { class Druid_Class; } // namespace UI
00046 
00047 } // namespace Gnome
00048 namespace Gnome
00049 {
00050 
00051 namespace UI
00052 {
00053 
00054 
00055 class Druid : public Gtk::Container
00056 {
00057   public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059   typedef Druid CppObjectType;
00060   typedef Druid_Class CppClassType;
00061   typedef GnomeDruid BaseObjectType;
00062   typedef GnomeDruidClass BaseClassType;
00063 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00064 
00065   virtual ~Druid();
00066 
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068 
00069 private:
00070   friend class Druid_Class;
00071   static CppClassType druid_class_;
00072 
00073   // noncopyable
00074   Druid(const Druid&);
00075   Druid& operator=(const Druid&);
00076 
00077 protected:
00078   explicit Druid(const Glib::ConstructParams& construct_params);
00079   explicit Druid(GnomeDruid* castitem);
00080 
00081 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00082 
00083 public:
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085   static GType get_type()      G_GNUC_CONST;
00086   static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088 
00090   GnomeDruid*       gobj()       { return reinterpret_cast<GnomeDruid*>(gobject_); }
00091 
00093   const GnomeDruid* gobj() const { return reinterpret_cast<GnomeDruid*>(gobject_); }
00094 
00095 
00096 public:
00097   //C++ methods used to invoke GTK+ virtual functions:
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100 
00101 protected:
00102   //GTK+ Virtual Functions (override these to change behaviour):
00103 #ifdef GLIBMM_VFUNCS_ENABLED
00104 #endif //GLIBMM_VFUNCS_ENABLED
00105 
00106   //Default Signal Handlers::
00107 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108   virtual void on_cancel();
00109   virtual void on_help();
00110 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00111 
00112 
00113 private:
00114 
00115   
00116 public:
00117   typedef DruidPage Page;
00118 
00119   Druid();
00120 
00121   
00122   void set_buttons_sensitive(bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive);
00123   
00124   void set_show_finish(bool show_finish = true);
00125   
00126   void set_show_help(bool show_help = true);
00127 
00128   
00129   void prepend_page(const DruidPage &page);
00130   
00131   void insert_page(const DruidPage &back_page, const DruidPage &page);
00132   
00133   void append_page(const DruidPage &page);
00134   
00135   void set_page(const DruidPage &page);
00136 
00137 
00143   Glib::SignalProxy0< void > signal_cancel();
00144 ;
00145   
00151   Glib::SignalProxy0< void > signal_help();
00152 ;
00153 
00154   #ifdef GLIBMM_PROPERTIES_ENABLED
00155 
00161   Glib::PropertyProxy<bool> property_show_finish() ;
00162 #endif //#GLIBMM_PROPERTIES_ENABLED
00163 
00164 #ifdef GLIBMM_PROPERTIES_ENABLED
00165 
00171   Glib::PropertyProxy_ReadOnly<bool> property_show_finish() const;
00172 #endif //#GLIBMM_PROPERTIES_ENABLED
00173 
00174   #ifdef GLIBMM_PROPERTIES_ENABLED
00175 
00181   Glib::PropertyProxy<bool> property_show_help() ;
00182 #endif //#GLIBMM_PROPERTIES_ENABLED
00183 
00184 #ifdef GLIBMM_PROPERTIES_ENABLED
00185 
00191   Glib::PropertyProxy_ReadOnly<bool> property_show_help() const;
00192 #endif //#GLIBMM_PROPERTIES_ENABLED
00193 
00194 
00195 };
00196 
00197 } /* namespace UI */
00198 } /* namespace Gnome */
00199 
00200 
00201 namespace Glib
00202 {
00211   Gnome::UI::Druid* wrap(GnomeDruid* object, bool take_copy = false);
00212 } //namespace Glib
00213 
00214 
00215 #endif /* _LIBGNOMEUIMM_DRUID_H */
00216 

Generated on Fri Jan 9 02:02:39 2009 for libgnomeuimm by  doxygen 1.4.6