// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _LIBGNOMEUIMM_DRUID_PAGE_H
#define _LIBGNOMEUIMM_DRUID_PAGE_H

#include <glibmm.h>

/* $Id: druid-page.hg,v 1.10 2002/05/06 16:15:23 murrayc Exp $ */


/* druid-page.hg
 * 
 * Copyright (C) 1999 The Gtk-- Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */


#include <gtkmm/bin.h>
//#include <libgnome/gnome-defs.h>
#include <libgnomeui/gnome-druid-page.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GnomeDruidPage GnomeDruidPage;
typedef struct _GnomeDruidPageClass GnomeDruidPageClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gnome
{

namespace UI
{ class DruidPage_Class; } // namespace UI

} // namespace Gnome
namespace Gnome
{

namespace UI
{


class DruidPage : public Gtk::Bin
{
  public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef DruidPage CppObjectType;
  typedef DruidPage_Class CppClassType;
  typedef GnomeDruidPage BaseObjectType;
  typedef GnomeDruidPageClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~DruidPage();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class DruidPage_Class;
  static CppClassType druidpage_class_;

  // noncopyable
  DruidPage(const DruidPage&);
  DruidPage& operator=(const DruidPage&);

protected:
  explicit DruidPage(const Glib::ConstructParams& construct_params);
  explicit DruidPage(GnomeDruidPage* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;
  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GtkObject.
  GnomeDruidPage*       gobj()       { return reinterpret_cast<GnomeDruidPage*>(gobject_); }

  ///Provides access to the underlying C GtkObject.
  const GnomeDruidPage* gobj() const { return reinterpret_cast<GnomeDruidPage*>(gobject_); }


public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::
  virtual bool on_next(Gtk::Widget& druid);
  virtual void on_prepare(Gtk::Widget& druid);
  virtual bool on_back(Gtk::Widget& druid);
  virtual void on_finish(Gtk::Widget& druid);
  virtual bool on_cancel(Gtk::Widget& druid);


private:

public:
  DruidPage();

  
  bool next();
  
  void prepare();
  
  bool back();
  
  void finish();
  
  bool cancel();

  
  Glib::SignalProxy1< bool,Gtk::Widget& > signal_next();

  
  Glib::SignalProxy1< void,Gtk::Widget& > signal_prepare();

  
  Glib::SignalProxy1< bool,Gtk::Widget& > signal_back();

  
  Glib::SignalProxy1< void,Gtk::Widget& > signal_finish();

  
  Glib::SignalProxy1< bool,Gtk::Widget& > signal_cancel();


/* common functions */
  virtual void set_bg_color(const Gdk::Color& color);
  virtual void set_title(const Glib::ustring& title);
  virtual void set_title_color(const Gdk::Color& color);
  virtual void set_logo(const Glib::RefPtr<Gdk::Pixbuf>& logo_image);
  virtual void set_logo_bg_color(const Gdk::Color& color);


};

} /* namespace UI */
} /* namespace Gnome */


namespace Glib
{
  /** @relates Gnome::UI::DruidPage
   * @param object The C instance
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
   * @result A C++ instance that wraps this C instance.
   */
  Gnome::UI::DruidPage* wrap(GnomeDruidPage* object, bool take_copy = false);
}
#endif /* _LIBGNOMEUIMM_DRUID_PAGE_H */

