gtkScaleSetDigits(object, digits)
gtkScaleSetDrawValue(object, draw.value)
gtkScaleSetValuePos(object, pos)
gtkScaleGetDigits(object)
gtkScaleGetDrawValue(object)
gtkScaleGetValuePos(object)
gtkScaleGetLayout(object)
gtkScaleGetLayoutOffsets(object)
gtkScaleAddMark(object, value, position, markup = NULL)
gtkScaleClearMarks(object)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkRange +----GtkScale +----GtkHScale +----GtkVScale
GtkBuildable
and GtkOrientable
.GtkScale
is a slider control used to select a numeric value.
To use it, you'll probably want to investigate the methods on
its base class, GtkRange
, in addition to the methods for GtkScale
itself.
To set the value of a scale, you would normally use gtkRangeSetValue
.
To detect changes to the value, you would normally use the "value_changed"
signal. The GtkScale
widget is an abstract class, used only for deriving the
subclasses GtkHScale
and GtkVScale
. To create a scale widget,
call gtkHScaleNewWithRange
or gtkVScaleNewWithRange
.gtkScaleAddMark
parameters of the
same name. If the element is not empty, its content is taken as the markup
to show at the mark. It can be translated with the usual "translatable and
"context" attributes.digits
[integer : Read / Write]draw-value
[logical : Read / Write]value-pos
[GtkPositionType
: Read / Write]slider-length
[integer : Read]value-spacing
[integer : Read]