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

NAME

6       Gtk2::Adjustment
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Adjustment
13

METHODS

15   object = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment,
16       $page_increment, $page_size)
17           ·   $value (double)
18
19           ·   $lower (double)
20
21           ·   $upper (double)
22
23           ·   $step_increment (double)
24
25           ·   $page_increment (double)
26
27           ·   $page_size (double)
28
29   $adjustment->changed
30   $adjustment->clamp_page ($lower, $upper)
31           ·   $lower (double)
32
33           ·   $upper (double)
34
35   double = $adjustment->value
36   double = $adjustment->value ($newval)
37   double = $adjustment->lower
38   double = $adjustment->lower ($newval)
39   double = $adjustment->upper
40   double = $adjustment->upper ($newval)
41   double = $adjustment->step_increment
42   double = $adjustment->step_increment ($newval)
43   double = $adjustment->page_increment
44   double = $adjustment->page_increment ($newval)
45   double = $adjustment->page_size
46   double = $adjustment->page_size ($newval)
47           ·   $newval (double)
48
49           Get or set the six fields of a Gtk2::Adjustment.
50
51           The setter functions store $newval and return the old value.  Note
52           that they don't emit any signals; it's up to you to emit "notify"
53           (because the fields are also properties) and "changed" or "value-
54           changed", when you're ready.
55
56   $adjustment->value_changed
57   double = $adjustment->get_value
58   $adjustment->set_value ($value)
59           ·   $value (double)
60

PROPERTIES

62       'lower' (double : readable / writable / private)
63           The minimum value of the adjustment
64
65       'page-increment' (double : readable / writable / private)
66           The page increment of the adjustment
67
68       'page-size' (double : readable / writable / private)
69           The page size of the adjustment
70
71       'step-increment' (double : readable / writable / private)
72           The step increment of the adjustment
73
74       'upper' (double : readable / writable / private)
75           The maximum value of the adjustment
76
77       'value' (double : readable / writable / private)
78           The value of the adjustment
79

SIGNALS

81       value-changed (Gtk2::Adjustment)
82       changed (Gtk2::Adjustment)
83

SEE ALSO

85       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
86
88       Copyright (C) 2003-2008 by the gtk2-perl team.
89
90       This software is licensed under the LGPL.  See Gtk2 for a full notice.
91
92
93
94perl v5.12.0                      2010-05-02               Gtk2::Adjustment(3)
Impressum