1Gtk2::Ruler(3) User Contributed Perl Documentation Gtk2::Ruler(3)
2
3
4
6 Gtk2::Ruler
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Ruler
14
16 Glib::Object::_Unregistered::AtkImplementorIface
17 Gtk2::Buildable
18 Glib::Object::_Unregistered::GtkOrientable
19
21 $ruler->draw_pos
22 $ruler->draw_ticks
23 metrictype = $ruler->get_metric
24 $ruler->set_metric ($metric)
25 · $metric (Gtk2::MetricType)
26
27 (lower, upper, position, max_size) = $ruler->get_range
28 $ruler->set_range ($lower, $upper, $position, $max_size)
29 · $lower (double)
30
31 · $upper (double)
32
33 · $position (double)
34
35 · $max_size (double)
36
38 'lower' (double : readable / writable / private)
39 Lower limit of ruler
40
41 'max-size' (double : readable / writable / private)
42 Maximum size of the ruler
43
44 'metric' (Gtk2::MetricType : readable / writable / private)
45 The metric used for the ruler
46
47 'position' (double : readable / writable / private)
48 Position of mark on the ruler
49
50 'upper' (double : readable / writable / private)
51 Upper limit of ruler
52
54 enum Gtk2::MetricType
55 · 'pixels' / 'GTK_PIXELS'
56
57 · 'inches' / 'GTK_INCHES'
58
59 · 'centimeters' / 'GTK_CENTIMETERS'
60
62 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
63
65 Copyright (C) 2003-2008 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.12.0 2010-05-02 Gtk2::Ruler(3)