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

#include <glibmm.h>

/* $Id: druid.hg,v 1.11 2002/06/22 19:06:46 murrayc Exp $ */


/* druid.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/container.h>
#include <libgnomeuimm/druid-page.h>
#include <libgnomeui/gnome-druid.h>

#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GnomeDruid GnomeDruid;
typedef struct _GnomeDruidClass GnomeDruidClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gnome
{

namespace UI
{ class Druid_Class; } // namespace UI

} // namespace Gnome
namespace Gnome
{

namespace UI
{


class Druid : public Gtk::Container
{
  public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef Druid CppObjectType;
  typedef Druid_Class CppClassType;
  typedef GnomeDruid BaseObjectType;
  typedef GnomeDruidClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~Druid();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class Druid_Class;
  static CppClassType druid_class_;

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

protected:
  explicit Druid(const Glib::ConstructParams& construct_params);
  explicit Druid(GnomeDruid* 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.
  GnomeDruid*       gobj()       { return reinterpret_cast<GnomeDruid*>(gobject_); }

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


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

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

  //Default Signal Handlers::
  virtual void on_cancel();
  virtual void on_help();


private:

  
public:
  typedef DruidPage Page;

  Druid();

  
  void set_buttons_sensitive(bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive);
  
  void set_show_finish(bool show_finish = true);
  
  void set_show_help(bool show_help = true);

  
  void prepend_page(const DruidPage &page);
  
  void insert_page(const DruidPage &back_page, const DruidPage &page);
  
  void append_page(const DruidPage &page);
  
  void set_page(const DruidPage &page);


  Glib::SignalProxy0< void > signal_cancel();
;
  

  Glib::SignalProxy0< void > signal_help();
;

  /** 
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy<bool> property_show_finish() ;

/** 
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly<bool> property_show_finish() const;

  /** 
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy<bool> property_show_help() ;

/** 
   *
   * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
   * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
   * the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly<bool> property_show_help() const;


};

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


namespace Glib
{
  /** @relates Gnome::UI::Druid
   * @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::Druid* wrap(GnomeDruid* object, bool take_copy = false);
}
#endif /* _LIBGNOMEUIMM_DRUID_H */

