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

druid-page.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEUIMM_DRUID_PAGE_H
00004 #define _LIBGNOMEUIMM_DRUID_PAGE_H
00005 
00006 #include <glibmm.h>
00007 
00008 /* $Id: druid-page.hg,v 1.10 2002/05/06 16:15:23 murrayc Exp $ */
00009 
00010 
00011 /* druid-page.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 
00031 #include <gtkmm/bin.h>
00032 //#include <libgnome/gnome-defs.h>
00033 #include <libgnomeui/gnome-druid-page.h>
00034 
00035 
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 typedef struct _GnomeDruidPage GnomeDruidPage;
00038 typedef struct _GnomeDruidPageClass GnomeDruidPageClass;
00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00040 
00041 
00042 namespace Gnome
00043 {
00044 
00045 namespace UI
00046 { class DruidPage_Class; } // namespace UI
00047 
00048 } // namespace Gnome
00049 namespace Gnome
00050 {
00051 
00052 namespace UI
00053 {
00054 
00055 
00056 class DruidPage : public Gtk::Bin
00057 {
00058   public:
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060   typedef DruidPage CppObjectType;
00061   typedef DruidPage_Class CppClassType;
00062   typedef GnomeDruidPage BaseObjectType;
00063   typedef GnomeDruidPageClass BaseClassType;
00064 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00065 
00066   virtual ~DruidPage();
00067 
00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00069 
00070 private:
00071   friend class DruidPage_Class;
00072   static CppClassType druidpage_class_;
00073 
00074   // noncopyable
00075   DruidPage(const DruidPage&);
00076   DruidPage& operator=(const DruidPage&);
00077 
00078 protected:
00079   explicit DruidPage(const Glib::ConstructParams& construct_params);
00080   explicit DruidPage(GnomeDruidPage* castitem);
00081 
00082 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00083 
00084 public:
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086   static GType get_type()      G_GNUC_CONST;
00087   static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089 
00091   GnomeDruidPage*       gobj()       { return reinterpret_cast<GnomeDruidPage*>(gobject_); }
00092 
00094   const GnomeDruidPage* gobj() const { return reinterpret_cast<GnomeDruidPage*>(gobject_); }
00095 
00096 
00097 public:
00098   //C++ methods used to invoke GTK+ virtual functions:
00099 
00100 protected:
00101   //GTK+ Virtual Functions (override these to change behaviour):
00102 
00103   //Default Signal Handlers::
00104   virtual bool on_next(Gtk::Widget& druid);
00105   virtual void on_prepare(Gtk::Widget& druid);
00106   virtual bool on_back(Gtk::Widget& druid);
00107   virtual void on_finish(Gtk::Widget& druid);
00108   virtual bool on_cancel(Gtk::Widget& druid);
00109 
00110 
00111 private:
00112 
00113 public:
00114   DruidPage();
00115 
00116   
00117   bool next();
00118   
00119   void prepare();
00120   
00121   bool back();
00122   
00123   void finish();
00124   
00125   bool cancel();
00126 
00127   
00132   Glib::SignalProxy1<bool,Gtk::Widget&> signal_next();
00133 
00134   
00139   Glib::SignalProxy1<void,Gtk::Widget&> signal_prepare();
00140 
00141   
00146   Glib::SignalProxy1<bool,Gtk::Widget&> signal_back();
00147 
00148   
00153   Glib::SignalProxy1<void,Gtk::Widget&> signal_finish();
00154 
00155   
00160   Glib::SignalProxy1<bool,Gtk::Widget&> signal_cancel();
00161 
00162 
00163 /* common functions */
00164   virtual void set_bg_color(const Gdk::Color& color);
00165   virtual void set_title(const Glib::ustring& title);
00166   virtual void set_title_color(const Gdk::Color& color);
00167   virtual void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
00168   virtual void set_logo_bg_color(const Gdk::Color& color);
00169 
00170 
00171 };
00172 
00173 } /* namespace UI */
00174 } /* namespace Gnome */
00175 
00176 
00177 namespace Glib
00178 {
00180   Gnome::UI::DruidPage* wrap(GnomeDruidPage* object, bool take_copy = false);
00181 }
00182 #endif /* _LIBGNOMEUIMM_DRUID_PAGE_H */
00183 

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