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


#include <glibmm.h>

/* Copyright (c) 2011  Fabien Parent <parent.f@gmail.com>
 *
 * This file is part of gdlmm.
 *
 * gdlmm 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.
 *
 * gdlmm 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 program.  If not, see <http://www.gnu.org/licenses/>.
 */


#include <gtkmm/container.h>

#include "dock.h"
#include "dockmaster.h"

#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GdlDockItemGrip GdlDockItemGrip;
typedef struct _GdlDockItemGripClass GdlDockItemGripClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gdl
{ class DockItemGrip_Class; } // namespace Gdl
namespace Gdl
{


class DockItemGrip : public Gtk::Container
{
  public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef DockItemGrip CppObjectType;
  typedef DockItemGrip_Class CppClassType;
  typedef GdlDockItemGrip BaseObjectType;
  typedef GdlDockItemGripClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~DockItemGrip();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class DockItemGrip_Class;
  static CppClassType dockitemgrip_class_;

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

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

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


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

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

  //Default Signal Handlers::


private:


public:
  DockItemGrip();
  
  
  void set_label(Gtk::Widget& label);
  
  
  void hide_handle();
  
  
  void show_handle();


};

} // namespace Gdl


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 Gdl::DockItemGrip
   */
  Gdl::DockItemGrip* wrap(GdlDockItemGrip* object, bool take_copy = false);
} //namespace Glib


#endif /* _GDLMM_DOCKITEMGRIP_H */

