// -*- c++ -*-
/*  Generated by gensig from bin.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_BIN_HEADER
#define GTKMM_BIN_HEADER
/* $Id: bin.gen_h,v 1.20.2.2 1999/05/01 18:02:19 terop Exp $ */

/* bin.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/gtkbin.h>
class Gtk_Bin_Class;
#line 24 "bin.gen_h"

class Gtk_Bin : public Gtk_Container {
public:
protected:
  typedef Gtk_Bin_Class    CppClassType;
  typedef GtkBin           BaseObjectType;
  typedef GtkBinClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

protected:
  /* impl functions */
public:
  GtkBin* gtkobj() { return GTK_BIN(gtkobject); }
  const GtkBin* gtkobj() const { return GTK_BIN(gtkobject); }
  static bool isGtkBin(Gtk_Object *checkcast);
#line 28 "bin.gen_h"


  Gtk_Bin(GtkBin *castitem);
  // get_child() is convenience function to get c++ wrapper of
  // the contained widget. It may return NULL, if such item is not
  // available or if it does not have existing C++ wrapper.
  const Gtk_Widget* get_child() const { return _get_child(); }
  Gtk_Widget* get_child() { return const_cast<Gtk_Widget*>(_get_child()); }

protected:
  Gtk_Bin();
private:
  const Gtk_Widget* _get_child() const;
};

#endif
