gtkScaleButtonNew(size, min, max, step, icons, show = TRUE)
gtkScaleButtonSetAdjustment(object, adjustment)
gtkScaleButtonSetIcons(object, icons)
gtkScaleButtonSetValue(object, value)
gtkScaleButtonGetAdjustment(object)
gtkScaleButtonGetValue(object)
gtkScaleButtonGetPopup(object)
gtkScaleButtonGetPlusButton(object)
gtkScaleButtonGetMinusButton(object)
gtkScaleButtonSetOrientation(object, orientation)
gtkScaleButtonSetOrientation(object, orientation)
gtkScaleButtonGetOrientation(object)
gtkScaleButtonGetOrientation(object)
gtkScaleButton(size, min, max, step, icons, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkScaleButton +----GtkVolumeButton
GtkBuildable
, GtkActivatable
and GtkOrientable
.GtkScaleButton
provides a button which pops up a scale widget.
This kind of widget is commonly used for volume controls in multimedia
applications, and GTK+ provides a GtkVolumeButton
subclass that
is tailored for this use case.gtkScaleButton
is the equivalent of gtkScaleButtonNew
.popdown(button, user.data)
button
user.data
popup(button, user.data)
button
user.data
value-changed(button, value, user.data)
button
value
user.data
adjustment
[GtkAdjustment
: * : Read / Write]icons
[character list : Read / Write]icons
list, it will
be used for all the values. If only two icon names are in
the icons
list, the first one will be used for the bottom
50% of the scale, and the second one for the top 50%. It is recommended to use at least 3 icons so that the
GtkScaleButton
reflects the current value of the scale
better for the users.
Since 2.12 size
[GtkIconSize
: Read / Write]value
[numeric : Read / Write]