32 #import "CoreGTK/CGTKScaleButton.h"
36 -(id)initWithSize:(GtkIconSize) size andMin:(gdouble) min andMax:(gdouble) max andStep:(gdouble) step andIcons:(gchar**) icons
38 self = [
super initWithGObject:(GObject *)gtk_scale_button_new(size, min, max, step, icons)];
50 return GTK_SCALE_BUTTON([
self GOBJECT]);
55 return gtk_scale_button_get_adjustment(GTK_SCALE_BUTTON([
self GOBJECT]));
60 return [[
CGTKWidget alloc] initWithGObject:(GObject *)gtk_scale_button_get_minus_button(GTK_SCALE_BUTTON([
self GOBJECT]))];
65 return [[
CGTKWidget alloc] initWithGObject:(GObject *)gtk_scale_button_get_plus_button(GTK_SCALE_BUTTON([
self GOBJECT]))];
70 return [[
CGTKWidget alloc] initWithGObject:(GObject *)gtk_scale_button_get_popup(GTK_SCALE_BUTTON([
self GOBJECT]))];
75 return gtk_scale_button_get_value(GTK_SCALE_BUTTON([
self GOBJECT]));
78 -(void)setAdjustment:(GtkAdjustment*) adjustment
80 gtk_scale_button_set_adjustment(GTK_SCALE_BUTTON([
self GOBJECT]), adjustment);
83 -(void)setIcons:(gchar**) icons
85 gtk_scale_button_set_icons(GTK_SCALE_BUTTON([
self GOBJECT]), icons);
88 -(void)setValue:(gdouble) value
90 gtk_scale_button_set_value(GTK_SCALE_BUTTON([
self GOBJECT]), value);
id initWithGObject:(GObject *obj)