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

/* adjustment.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--/data.h>
#include <gtk/gtkadjustment.h>

class Gtk_Adjustment_Class;
#line 25 "adjustment.gen_h"

/* gtkadjustment.h */
//: Value-within-Range Type, e.g. for spinbuttons
class Gtk_Adjustment : public Gtk_Data {
public:
protected:
  typedef Gtk_Adjustment_Class    CppClassType;
  typedef GtkAdjustment           BaseObjectType;
  typedef GtkAdjustmentClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

  Signal_proxy0<BaseObjectType> changed;
  Signal_proxy0<BaseObjectType> value_changed;

	
  friend class Gtk_Range;
  friend class Gtk_HScrollbar;
  friend class Gtk_VScrollbar;
  //: create new instance
  Gtk_Adjustment(gfloat value,
		 gfloat lower,
		 gfloat upper,
		 gfloat step_increment=1,
		 gfloat page_increment=10,
		 gfloat page_size=0);

  Gtk_Adjustment(GtkAdjustment *castitem);
  //: set to a specific value
  void set_value(gfloat value);
  //: get current value
  gfloat get_value() const;

#line 53 "adjustment.gen_h"
  void clamp_page(gfloat lower, gfloat upper);
#line 55 "adjustment.gen_h"
protected:
  /* impl functions */
  virtual void changed_impl();
  virtual void value_changed_impl();
public:
  GtkAdjustment* gtkobj() { return GTK_ADJUSTMENT(gtkobject); }
  const GtkAdjustment* gtkobj() const { return GTK_ADJUSTMENT(gtkobject); }
  static bool isGtkAdjustment(Gtk_Object *checkcast);
#line 55 "adjustment.gen_h"

};

#endif
