/*
 * GToolKit - Objective-C interface to the GIMP Toolkit
 * Copyright (c) 1999  Elmar Ludwig - Universitaet Osnabrueck
 *
 * Generated automatically from gtkspinbutton.h by gtkgen.
 *
 * 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.
 */
#ifndef GTOOLKIT_GTKSPINBUTTON_H
#define GTOOLKIT_GTKSPINBUTTON_H

#include <GToolKit/GTKEntry.h>
#include <gtk/gtkspinbutton.h>

@interface GTKSpinButton : GTKEntry
+ (GtkType) getType;
- (void) configure:(GTKAdjustment *) adjustment climbRate:(gfloat) climb_rate digits:(guint) digits;
+ spinButtonWithAdjustment:(GTKAdjustment *) adjustment climbRate:(gfloat) climb_rate digits:(guint) digits;
- initWithAdjustment:(GTKAdjustment *) adjustment climbRate:(gfloat) climb_rate digits:(guint) digits;
- (void) setAdjustment:(GTKAdjustment *) adjustment;
- (GTKAdjustment*) getAdjustment;
- (void) setDigits:(guint) digits;
- (gfloat) getValueAsFloat;
- (gint) getValueAsInt;
- (void) setValue:(gfloat) value;
- (void) setUpdatePolicy:(GtkSpinButtonUpdatePolicy) policy;
- (void) setNumeric:(gboolean) numeric;
- (void) spin:(GtkSpinType) direction increment:(gfloat) increment;
- (void) setWrap:(gboolean) wrap;
- (void) setShadowType:(GtkShadowType) shadow_type;
- (void) setSnapToTicks:(gboolean) snap_to_ticks;
- (void) update;
@end

#endif
