// Generated by gmmproc 2.75.0 -- DO NOT MODIFY!
#ifndef _GTKMM_ASSISTANTPAGE_H
#define _GTKMM_ASSISTANTPAGE_H

#include <gtkmmconfig.h>

#ifndef GTKMM_DISABLE_DEPRECATED


#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>

/* Copyright (C) 2019 The gtkmm 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, see <http://www.gnu.org/licenses/>.
 */


#include <glibmm/object.h>
#include <glibmm/refptr.h>


 // The entire file is deprecated.

#ifndef DOXYGEN_SHOULD_SKIP_THIS
using GtkAssistantPage = struct _GtkAssistantPage;
using GtkAssistantPageClass = struct _GtkAssistantPageClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Gtk
{ class GTKMM_API AssistantPage_Class; } // namespace Gtk
#endif //DOXYGEN_SHOULD_SKIP_THIS

namespace Gtk
{
class GTKMM_API Widget;

/** Holds properties of a Gtk::Assistant page.
 *
 * Use Gtk::Assistant::get_page() to get a pointer to an %AssistantPage object.
 *
 * @see Assistant
 * @newin{3,96}
 * @deprecated 4.10: libadwaita (a C library) has replacement parts (like AdwCarousel).
 */

class GTKMM_API AssistantPage : public Glib::Object
{
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  using CppObjectType = AssistantPage;
  using CppClassType = AssistantPage_Class;
  using BaseObjectType = GtkAssistantPage;
  using BaseClassType = GtkAssistantPageClass;

  // noncopyable
  AssistantPage(const AssistantPage&) = delete;
  AssistantPage& operator=(const AssistantPage&) = delete;

private:  friend class AssistantPage_Class;
  static CppClassType assistantpage_class_;

protected:
  explicit AssistantPage(const Glib::ConstructParams& construct_params);
  explicit AssistantPage(GtkAssistantPage* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:

  AssistantPage(AssistantPage&& src) noexcept;
  AssistantPage& operator=(AssistantPage&& src) noexcept;

  ~AssistantPage() noexcept override;

  /** Get the GType for this class, for use with the underlying GObject type system.
   */
  static GType get_type()      G_GNUC_CONST;

#ifndef DOXYGEN_SHOULD_SKIP_THIS


  static GType get_base_type() G_GNUC_CONST;
#endif

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

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

  ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
  GtkAssistantPage* gobj_copy();

private:


public:
  /** @addtogroup gtkmmEnums gtkmm Enums and Flags */

  /** 
   *  @var Type CONTENT
   * The page has regular contents. Both the
   * Back and forward buttons will be shown.
   * 
   *  @var Type INTRO
   * The page contains an introduction to the
   * assistant task. Only the Forward button will be shown if there is a
   * next page.
   * 
   *  @var Type CONFIRM
   * The page lets the user confirm or deny the
   * changes. The Back and Apply buttons will be shown.
   * 
   *  @var Type SUMMARY
   * The page informs the user of the changes
   * done. Only the Close button will be shown.
   * 
   *  @var Type PROGRESS
   * Used for tasks that take a long time to
   * complete, blocks the assistant until the page is marked as complete.
   * Only the back button will be shown.
   * 
   *  @var Type CUSTOM
   * Used for when other page types are not
   * appropriate. No buttons will be shown, and the application must
   * add its own buttons through Gtk::Assistant::add_action_widget().
   * 
   *  @enum Type
   * 
   * Determines the page role inside a `Gtk::Assistant`.
   * 
   * The role is used to handle buttons sensitivity and visibility.
   * 
   * Note that an assistant needs to end its page flow with a page of type
   * Gtk::AssistantPage::Type::CONFIRM, Gtk::AssistantPage::Type::SUMMARY or
   * Gtk::AssistantPage::Type::PROGRESS to be correct.
   * 
   * The Cancel button will only be shown if the page isn’t “committed”.
   * See Gtk::Assistant::commit() for details.
   *
   * @ingroup gtkmmEnums
   */
  enum class Type
  {
    CONTENT,
    INTRO,
    CONFIRM,
    SUMMARY,
    PROGRESS,
    CUSTOM
  };


  /** Returns the child to which @a page belongs.
   * 
   * Deprecated: 4.10: This widget will be removed in GTK 5
   * 
   * @return The child to which @a page belongs.
   */
  Widget* get_child();
  
  /** Returns the child to which @a page belongs.
   * 
   * Deprecated: 4.10: This widget will be removed in GTK 5
   * 
   * @return The child to which @a page belongs.
   */
  const Widget* get_child() const;

  /** The type of the assistant page.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: Gtk::AssistantPage::Type::CONTENT
   *
   * @return A PropertyProxy that allows you to get or set the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy< Type > property_page_type() ;

/** The type of the assistant page.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: Gtk::AssistantPage::Type::CONTENT
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Type > property_page_type() const;

  /** The title of the page.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: ""
   *
   * @return A PropertyProxy that allows you to get or set the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy< Glib::ustring > property_title() ;

/** The title of the page.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: ""
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_title() const;

  /** Whether all required fields are filled in.
   * 
   * GTK uses this information to control the sensitivity
   * of the navigation buttons.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: <tt>false</tt>
   *
   * @return A PropertyProxy that allows you to get or set the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy< bool > property_complete() ;

/** Whether all required fields are filled in.
   * 
   * GTK uses this information to control the sensitivity
   * of the navigation buttons.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * Default value: <tt>false</tt>
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< bool > property_complete() const;

  /** The child widget.
   * 
   * Deprecated: 4.10: This object will be removed in GTK 5
   *
   * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
   * or receive notification when the value of the property changes.
   */
  Glib::PropertyProxy_ReadOnly< Widget* > property_child() const;


  // There are no signals or vfuncs.


public:

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

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

  //Default Signal Handlers::


};

} // namespace Gtk


#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{

template <>
class GTKMM_API Value<Gtk::AssistantPage::Type> : public Glib::Value_Enum<Gtk::AssistantPage::Type>
{
public:
  static GType value_type() G_GNUC_CONST;
};

} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


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 Gtk::AssistantPage
   */
  GTKMM_API
  Glib::RefPtr<Gtk::AssistantPage> wrap(GtkAssistantPage* object, bool take_copy = false);
}


#endif // GTKMM_DISABLE_DEPRECATED


#endif /* _GTKMM_ASSISTANTPAGE_H */

