Gtk2::Scale

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::Scale  

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Range
                      +----Gtk2::Scale

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface

 

METHODS

 

integer = $scale->get_digits

 

$scale->set_digits ($digits)

* $digits (integer)
 

boolean = $scale->get_draw_value

 

$scale->set_draw_value ($draw_value)

* $draw_value (boolean)
 

layout = $scale->get_layout

Since: gtk+ 2.4
 

(x, y) = $scale->get_layout_offsets

Since: gtk+ 2.4
 

positiontype = $scale->get_value_pos

 

$scale->set_value_pos ($pos)

* $pos (Gtk2::PositionType)
 

PROPERTIES

'digits' (integer : readable / writable / private)
The number of decimal places that are displayed in the value
'draw-value' (boolean : readable / writable / private)
Whether the current value is displayed as a string next to the slider
'value-pos' (Gtk2::PositionType : readable / writable / private)
The position in which the current value is displayed
 

SIGNALS

string = format-value (Gtk2::Scale, double)
 

ENUMS AND FLAGS

 

enum Gtk2::PositionType

* 'left' / 'GTK_POS_LEFT'
* 'right' / 'GTK_POS_RIGHT'
* 'top' / 'GTK_POS_TOP'
* 'bottom' / 'GTK_POS_BOTTOM'
 

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Range  

COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


 

Index

NAME
HIERARCHY
INTERFACES
METHODS
integer = $scale->get_digits
$scale->set_digits ($digits)
boolean = $scale->get_draw_value
$scale->set_draw_value ($draw_value)
layout = $scale->get_layout
(x, y) = $scale->get_layout_offsets
positiontype = $scale->get_value_pos
$scale->set_value_pos ($pos)
PROPERTIES
SIGNALS
ENUMS AND FLAGS
enum Gtk2::PositionType
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages