1Gtk2::Layout(3) User Contributed Perl Documentation Gtk2::Layout(3)
2
3
4
6 Gtk2::Layout
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Layout
15
17 Glib::Object::_Unregistered::AtkImplementorIface
18
20 widget = Gtk2::Layout->new ($hadjustment=undef, $vadjustment=undef)
21
22 * $hadjustment (Gtk2::Adjustment or undef)
23 * $vadjustment (Gtk2::Adjustment or undef)
24
25 $layout->freeze
26
27 adjustment = $layout->get_hadjustment
28
29 $layout->set_hadjustment ($adjustment)
30
31 * $adjustment (Gtk2::Adjustment)
32
33 $layout->move ($child_widget, $x, $y)
34
35 * $child_widget (Gtk2::Widget)
36 * $x (integer)
37 * $y (integer)
38
39 $layout->put ($child_widget, $x, $y)
40
41 * $child_widget (Gtk2::Widget)
42 * $x (integer)
43 * $y (integer)
44
45 (width, height) = $layout->get_size
46
47 $layout->set_size ($width, $height)
48
49 * $width (integer)
50 * $height (integer)
51
52 $layout->thaw
53
54 adjustment = $layout->get_vadjustment
55
56 $layout->set_vadjustment ($adjustment)
57
58 * $adjustment (Gtk2::Adjustment)
59
61 'hadjustment' (Gtk2::Adjustment : readable / writable / private)
62 The GtkAdjustment for the horizontal position
63
64 'height' (Glib::UInt : readable / writable / private)
65 The height of the layout
66
67 'vadjustment' (Gtk2::Adjustment : readable / writable / private)
68 The GtkAdjustment for the vertical position
69
70 'width' (Glib::UInt : readable / writable / private)
71 The width of the layout
72
74 set-scroll-adjustments (Gtk2::Layout, Gtk2::Adjustment, Gtk2::Adjust‐
75 ment)
76
78 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
79 Gtk2::Container
80
82 Copyright (C) 2003-2007 by the gtk2-perl team.
83
84 This software is licensed under the LGPL. See Gtk2 for a full notice.
85
86
87
88perl v5.8.8 2007-03-18 Gtk2::Layout(3)