Constructor
Gtk.ScaleButton.new
Declaration [src]
GtkWidget*
gtk_scale_button_new (
double min,
double max,
double step,
const char** icons
)
Description [src]
Creates a GtkScaleButton
.
The new scale button has a range between min
and max
,
with a stepping of step
.
Parameters
min |
double |
the minimum value of the scale (usually 0) |
|
max |
double |
the maximum value of the scale (usually 100) |
|
step |
double |
the stepping of value when a scroll-wheel event, or up/down arrow event occurs (usually 2) |
|
icons |
An array of char* |
a |
|
Can be NULL | |
Ownership is not transferred to the callee |
Return value
Returns: GtkWidget |
|
a new |
|
Ownership is not transferred to the caller |