// -*- 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 Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser 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:
#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED

protected:
  //GTK+ Virtual Functions (override these to change behaviour):
#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED

  //Default Signal Handlers::
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
  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);
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED


private:

public:
  DruidPage();

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

  
  /**
   * @par Prototype:
   * <tt>bool on_my_%next(Gtk::Widget& druid)</tt>
   */

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

  
  /**
   * @par Prototype:
   * <tt>void on_my_%prepare(Gtk::Widget& druid)</tt>
   */

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

  
  /**
   * @par Prototype:
   * <tt>bool on_my_%back(Gtk::Widget& druid)</tt>
   */

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

  
  /**
   * @par Prototype:
   * <tt>void on_my_%finish(Gtk::Widget& druid)</tt>
   */

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

  
  /**
   * @par Prototype:
   * <tt>bool on_my_%cancel(Gtk::Widget& druid)</tt>
   */

  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
{
  /** A Glib::wrap() method for this object.
   * 
   * @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.
   *
   * @relates Gnome::UI::DruidPage
   */
  Gnome::UI::DruidPage* wrap(GnomeDruidPage* object, bool take_copy = false);
} //namespace Glib


#endif /* _LIBGNOMEUIMM_DRUID_PAGE_H */

