Gtk2::Ruler.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::Ruler

HIERARCHY

   Glib::Object
   +----Glib::InitiallyUnowned
        +----Gtk2::Object
             +----Gtk2::Widget
                  +----Gtk2::Ruler
 
 

INTERFACES

   Glib::Object::_Unregistered::AtkImplementorIface
   Gtk2::Buildable
   Glib::Object::_Unregistered::GtkOrientable
 
 

METHODS

$ruler->draw_pos

$ruler->draw_ticks

metrictype = $ruler->get_metric

$ruler->set_metric ($metric)

*
$metric (Gtk2::MetricType)

(lower, upper, position, max_size) = $ruler->get_range

$ruler->set_range ($lower, $upper, $position, $max_size)

*
$lower (double)
*
$upper (double)
*
$position (double)
*
$max_size (double)

PROPERTIES

'lower' (double : readable / writable / private)
Lower limit of ruler
'max-size' (double : readable / writable / private)
Maximum size of the ruler
'metric' (Gtk2::MetricType : readable / writable / private)
The metric used for the ruler
'position' (double : readable / writable / private)
Position of mark on the ruler
'upper' (double : readable / writable / private)
Upper limit of ruler

ENUMS AND FLAGS

enum Gtk2::MetricType

*
'pixels' / 'GTK_PIXELS'
*
'inches' / 'GTK_INCHES'
*
'centimeters' / 'GTK_CENTIMETERS'

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget Copyright (C) 2003-2008 by the gtk2-perl team.

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