// -*- c++ -*-
/*  Generated by gensig from scrolledwindow.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_SCROLLEDWINDOW_HEADER
#define GTKMM_SCROLLEDWINDOW_HEADER
/* $Id: scrolledwindow.gen_h,v 1.36.2.4 1999/05/22 06:10:32 tdukes Exp $ */

/* scrolledwindow.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--/adjustment.h>
#include <gtk--/scrollbar.h>
#include <gtk--/viewport.h>
#include <gtk/gtkscrolledwindow.h>

class Gtk_ScrolledWindow_Class;
#line 28 "scrolledwindow.gen_h"

#line 30 "scrolledwindow.gen_h"
class Gtk_ScrolledWindow : public Gtk_Bin {
  
protected:
  typedef Gtk_ScrolledWindow_Class    CppClassType;
  typedef GtkScrolledWindow           BaseObjectType;
  typedef GtkScrolledWindowClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

#line 38 "scrolledwindow.gen_h"

public:


  //: Little restriction over gtk+ here : you have to specify either
  //  both adjustements or none at all.
  Gtk_ScrolledWindow(Gtk_Adjustment &hadjustment,
		     Gtk_Adjustment &vadjustment);
  Gtk_ScrolledWindow();
  ~Gtk_ScrolledWindow() {}
  Gtk_ScrolledWindow(GtkScrolledWindow *castitem);

#line 51 "scrolledwindow.gen_h"
  void set_hadjustment( Gtk_Adjustment& hadjustment);
  void set_vadjustment( Gtk_Adjustment& vadjustment);
#line 54 "scrolledwindow.gen_h"
  const Gtk_Adjustment* get_hadjustment() const;
  const Gtk_Adjustment* get_vadjustment() const;
  
  void set_policy    (GtkPolicyType hscrollbar_policy,
		      GtkPolicyType vscrollbar_policy);
#line 60 "scrolledwindow.gen_h"
  void set_placement (GtkCornerType window_placement);
  void add_with_viewport(const Gtk_Widget &child);
#line 66 "scrolledwindow.gen_h"
  const Gtk_HScrollbar* get_hscrollbar() const;
  const Gtk_VScrollbar* get_vscrollbar() const;

#line 72 "scrolledwindow.gen_h"

protected:
  /* impl functions */
public:
  GtkScrolledWindow* gtkobj() { return GTK_SCROLLED_WINDOW(gtkobject); }
  const GtkScrolledWindow* gtkobj() const { return GTK_SCROLLED_WINDOW(gtkobject); }
  static bool isGtkScrolledWindow(Gtk_Object *checkcast);
#line 73 "scrolledwindow.gen_h"


protected:

#line 80 "scrolledwindow.gen_h"

  Gtk_ObjectHandle<Gtk_HScrollbar> hscrollbar_;
  Gtk_ObjectHandle<Gtk_VScrollbar> vscrollbar_;
};

#endif
