Gtk2::Scale - wrapper for GtkScale
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Range
+----Gtk2::Scale
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
$scale->add_mark ($value, $position, $markup)
- $value (double)
- $position (Gtk2::PositionType)
- $markup (string or undef)
Since: gtk+ 2.16
$scale->set_digits ($digits)
- •
- $digits (integer)
$scale->set_draw_value ($draw_value)
- •
- $draw_value (boolean)
$scale->set_value_pos ($pos)
- •
- $pos (Gtk2::PositionType)
- 'digits' (integer : default 1 : readable / writable / private)
- The number of decimal places that are displayed in the value
- 'draw-value' (boolean : default true : readable / writable / private)
- Whether the current value is displayed as a string next to the slider
- 'value-pos' (Gtk2::PositionType : default "top" : readable /
writable / private)
- The position in which the current value is displayed
- 'slider-length' (integer : default 31 : readable / private)
- Length of scale's slider
- 'value-spacing' (integer : default 2 : readable / private)
- Space between value text and the slider/trough area
- 'left' / 'GTK_POS_LEFT'
- 'right' / 'GTK_POS_RIGHT'
- 'top' / 'GTK_POS_TOP'
- 'bottom' / 'GTK_POS_BOTTOM'
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
Gtk2::Widget, Gtk2::Range
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full
notice.