// -*- c++ -*-
/*  Generated by gensig from viewport.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_VIEWPORT_HEADER
#define GTKMM_VIEWPORT_HEADER
/* $Id: viewport.gen_h,v 1.24.2.2 1999/03/20 05:00:18 terop Exp $ */

/* viewport.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--/bin.h>
#include <gtk--/adjustment.h>
#include <gtk/gtkviewport.h>

class Gtk_Viewport_Class;
#line 26 "viewport.gen_h"

class Gtk_Viewport : public Gtk_Bin {
  
public:
protected:
  typedef Gtk_Viewport_Class    CppClassType;
  typedef GtkViewport           BaseObjectType;
  typedef GtkViewportClass      BaseClassType;

  virtual void *get_parent_class();

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

public:



  Gtk_Viewport();
  ~Gtk_Viewport() {}
  Gtk_Viewport( Gtk_Adjustment &hadjustment, 
	        Gtk_Adjustment &vadjustment);
  Gtk_Viewport(GtkViewport *castitem);
  
  const Gtk_Adjustment *get_hadjustment() const;
  const Gtk_Adjustment *get_vadjustment() const;

  void set_hadjustment( Gtk_Adjustment &adjustment);
  void set_vadjustment( Gtk_Adjustment &adjustment);

  GtkShadowType get_shadow_type() const
    {return (GtkShadowType)(gtkobj()->shadow_type);}
  void set_shadow_type(GtkShadowType type);

protected:
  /* impl functions */
public:
  GtkViewport* gtkobj() { return GTK_VIEWPORT(gtkobject); }
  const GtkViewport* gtkobj() const { return GTK_VIEWPORT(gtkobject); }
  static bool isGtkViewport(Gtk_Object *checkcast);
#line 49 "viewport.gen_h"

protected:
  Gtk_ObjectHandle<Gtk_Adjustment> hadjustment_, vadjustment_;
};

#endif
