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


#include <glibmm.h>

/* Copyright (C) 2011 The cluttermm 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 <cluttermm/container.h>
#include <cluttermm/layout-manager.h>
#include <cluttermm/color.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _ClutterBox ClutterBox;
typedef struct _ClutterBoxClass ClutterBoxClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Clutter
{ class Box_Class; } // namespace Clutter
namespace Clutter
{


class Box :
    public LayoutManager,
    public Container
{
  
#ifndef DOXYGEN_SHOULD_SKIP_THIS

public:
  typedef Box CppObjectType;
  typedef Box_Class CppClassType;
  typedef ClutterBox BaseObjectType;
  typedef ClutterBoxClass BaseClassType;

private:  friend class Box_Class;
  static CppClassType box_class_;

private:
  // noncopyable
  Box(const Box&);
  Box& operator=(const Box&);

protected:
  explicit Box(const Glib::ConstructParams& construct_params);
  explicit Box(ClutterBox* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
  virtual ~Box();

#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 GObject.
  ClutterBox*       gobj()       { return reinterpret_cast<ClutterBox*>(gobject_); }

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

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

private:

  
protected:
  Box();
  explicit Box(const Glib::RefPtr<LayoutManager>& layoutManager);

public:
  
  static Glib::RefPtr<Box> create();


  //gtkmmproc error: clutter_box_get_manager : method defs lookup failed (1)
  //gtkmmproc error: clutter_box_get_manager : method defs lookup failed (1)

  
  /** Sets (or unsets) the background color for @a box
   * 
   * @newin{1,2}
   * @param color The background color, or <tt>0</tt> to unset.
   */
  void set_color(const Color& color);

  
  /** Retrieves the background color of @a box
   * 
   * If the Clutter::Box:color-set property is set to <tt>false</tt> the
   * returned Clutter::Color is undefined
   * 
   * @newin{1,2}
   * @param color Return location for a Clutter::Color.
   */

  Color get_color() const;

  
  // TODO: Documentation
  void pack(const Glib::RefPtr<Actor>& actor, const std::map<std::string, Glib::ValueBase>& properties);

  #ifdef GLIBMM_PROPERTIES_ENABLED
/** The color to be used to paint the background of the ClutterBox. Setting this property will set the 'color-set' property as a side effect.
   *
   * 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<Color> property_color() ;
#endif //#GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
/** The color to be used to paint the background of the ClutterBox. Setting this property will set the 'color-set' property as a side effect.
   *
   * 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<Color> property_color() const;
#endif //#GLIBMM_PROPERTIES_ENABLED

  #ifdef GLIBMM_PROPERTIES_ENABLED
/** Whether the 'color' property has been set.
   *
   * 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_color_set() ;
#endif //#GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
/** Whether the 'color' property has been set.
   *
   * 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_color_set() const;
#endif //#GLIBMM_PROPERTIES_ENABLED

  #ifdef GLIBMM_PROPERTIES_ENABLED
/** The ClutterLayoutManager used by the ClutterBox.
   *
   * 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< Glib::RefPtr<LayoutManager> > property_manager() const;
#endif //#GLIBMM_PROPERTIES_ENABLED


public:

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

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

  //Default Signal Handlers::


};

} // namespace Clutter


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 Clutter::Box
   */
  Glib::RefPtr<Clutter::Box> wrap(ClutterBox* object, bool take_copy = false);
}


#endif /* _CLUTTERMM_BOX_H */

