1Gtk2::Ruler(3)        User Contributed Perl Documentation       Gtk2::Ruler(3)
2
3
4

NAME

6       Gtk2::Ruler
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Ruler
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17

METHODS

19       $ruler->draw_pos
20
21       $ruler->draw_ticks
22
23       metrictype = $ruler->get_metric
24
25       $ruler->set_metric ($metric)
26
27           * $metric (Gtk2::MetricType)
28
29       (lower, upper, position, max_size) = $ruler->get_range
30
31       $ruler->set_range ($lower, $upper, $position, $max_size)
32
33           * $lower (double)
34           * $upper (double)
35           * $position (double)
36           * $max_size (double)
37

PROPERTIES

39       'lower' (double : readable / writable / private)
40           Lower limit of ruler
41
42       'max-size' (double : readable / writable / private)
43           Maximum size of the ruler
44
45       'metric' (Gtk2::MetricType : readable / writable / private)
46           The metric used for the ruler
47
48       'position' (double : readable / writable / private)
49           Position of mark on the ruler
50
51       'upper' (double : readable / writable / private)
52           Upper limit of ruler
53

ENUMS AND FLAGS

55       enum Gtk2::MetricType
56
57       * 'pixels' / 'GTK_PIXELS'
58       * 'inches' / 'GTK_INCHES'
59       * 'centimeters' / 'GTK_CENTIMETERS'
60

SEE ALSO

62       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
63
65       Copyright (C) 2003-2007 by the gtk2-perl team.
66
67       This software is licensed under the LGPL.  See Gtk2 for a full notice.
68
69
70
71perl v5.8.8                       2007-03-18                    Gtk2::Ruler(3)
Impressum