// -*- c++ -*-
/*  Generated by gensig from paned.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_PANED_HEADER
#define GTKMM_PANED_HEADER
/* $Id: paned.gen_h,v 1.25.2.1 1999/03/20 04:59:51 terop Exp $ */

/* paned.h
 * 
 * Copyright (C) 1998-1999 
 *
 * 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 <gtk--/container.h>
#include <gtk/gtkpaned.h>
#include <gtk/gtkhpaned.h>
#include <gtk/gtkvpaned.h>

class Gtk_Paned_Class;
class Gtk_HPaned_Class;
class Gtk_VPaned_Class;
#line 27 "paned.gen_h"

class Gtk_Paned : public Gtk_Container
{
public:
protected:
  typedef Gtk_Paned_Class    CppClassType;
  typedef GtkPaned           BaseObjectType;
  typedef GtkPanedClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType paned_class; 
  GtkType get_type(); 

public:



  Gtk_Paned();
  Gtk_Paned(GtkPaned *castitem);

  void add1       (const Gtk_Widget &child);
  void add2       (const Gtk_Widget &child);

  void add1       (const Gtk_ObjectHandle<Gtk_Widget> &child);
  void add2       (const Gtk_ObjectHandle<Gtk_Widget> &child);

#line 44 "paned.gen_h"
  void set_handle_size(guint16 size);
  void set_gutter_size(guint16 size);

  void pack1       (const Gtk_Widget &child,
		    bool resize,
		    bool shrink);
  void pack2       (const Gtk_Widget &child,
		    bool resize,
		    bool shrink);

  void pack1       (const Gtk_ObjectHandle<Gtk_Widget> &child,
		    bool resize,
		    bool shrink);
  void pack2       (const Gtk_ObjectHandle<Gtk_Widget> &child,
		    bool resize,
		    bool shrink);

  void set_position(gint position);

  bool get_child1_shrink() const { return gtkobj()->child1_shrink; }
  bool get_child2_shrink() const { return gtkobj()->child2_shrink; }

  bool get_child1_resize() const { return gtkobj()->child1_resize; }
  bool get_child2_resize() const { return gtkobj()->child2_resize; }
  
#line 73 "paned.gen_h"

  guint16 get_handle_size() const;
  guint16 get_gutter_size() const;

  const Gtk_Widget* get_child1() const { return child1_; }
  const Gtk_Widget* get_child2() const { return child2_; }

protected:
  /* impl functions */
public:
  GtkPaned* gtkobj() { return GTK_PANED(gtkobject); }
  const GtkPaned* gtkobj() const { return GTK_PANED(gtkobject); }
  static bool isGtkPaned(Gtk_Object *checkcast);
#line 80 "paned.gen_h"

private:
  const Gtk_Widget *child1_, *child2_;
};


class Gtk_HPaned : public Gtk_Paned
{
public:
protected:
  typedef Gtk_HPaned_Class    CppClassType;
  typedef GtkHPaned           BaseObjectType;
  typedef GtkHPanedClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType hpaned_class; 
  GtkType get_type(); 

public:

  Gtk_HPaned();
  Gtk_HPaned(GtkHPaned *castitem);
protected:
  /* impl functions */
public:
  GtkHPaned* gtkobj() { return GTK_HPANED(gtkobject); }
  const GtkHPaned* gtkobj() const { return GTK_HPANED(gtkobject); }
  static bool isGtkHPaned(Gtk_Object *checkcast);
#line 92 "paned.gen_h"

};

class Gtk_VPaned : public Gtk_Paned
{
public:
protected:
  typedef Gtk_VPaned_Class    CppClassType;
  typedef GtkVPaned           BaseObjectType;
  typedef GtkVPanedClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType vpaned_class; 
  GtkType get_type(); 

public:

  Gtk_VPaned();
  Gtk_VPaned(GtkVPaned *castitem);
protected:
  /* impl functions */
public:
  GtkVPaned* gtkobj() { return GTK_VPANED(gtkobject); }
  const GtkVPaned* gtkobj() const { return GTK_VPANED(gtkobject); }
  static bool isGtkVPaned(Gtk_Object *checkcast);
#line 101 "paned.gen_h"

};

#endif
