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

NAME

6       Gtk2::Layout - wrapper for GtkLayout
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Layout
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18         Gtk2::Buildable
19

METHODS

21   widget = Gtk2::Layout->new ($hadjustment=undef, $vadjustment=undef)
22       •   $hadjustment (Gtk2::Adjustment or undef)
23
24       •   $vadjustment (Gtk2::Adjustment or undef)
25
26   window or undef = $layout->get_bin_window
27   $layout->freeze
28   adjustment = $layout->get_hadjustment
29   $layout->set_hadjustment ($adjustment)
30       •   $adjustment (Gtk2::Adjustment)
31
32   $layout->move ($child_widget, $x, $y)
33       •   $child_widget (Gtk2::Widget)
34
35       •   $x (integer)
36
37       •   $y (integer)
38
39   $layout->put ($child_widget, $x, $y)
40       •   $child_widget (Gtk2::Widget)
41
42       •   $x (integer)
43
44       •   $y (integer)
45
46   (width, height) = $layout->get_size
47   $layout->set_size ($width, $height)
48       •   $width (integer)
49
50       •   $height (integer)
51
52   $layout->thaw
53   adjustment = $layout->get_vadjustment
54   $layout->set_vadjustment ($adjustment)
55       •   $adjustment (Gtk2::Adjustment)
56

PROPERTIES

58       'hadjustment' (Gtk2::Adjustment : default undef : readable / writable /
59       private / static-nick / static-blurb)
60           The GtkAdjustment for the horizontal position
61
62       'height' (Glib::UInt : default 100 : readable / writable / private /
63       static-nick / static-blurb)
64           The height of the layout
65
66       'vadjustment' (Gtk2::Adjustment : default undef : readable / writable /
67       private / static-nick / static-blurb)
68           The GtkAdjustment for the vertical position
69
70       'width' (Glib::UInt : default 100 : readable / writable / private /
71       static-nick / static-blurb)
72           The width of the layout
73

CHILD PROPERTIES

75       'x' (integer : default 0 : readable / writable / private / static-nick
76       / static-blurb)
77           X position of child widget
78
79       'y' (integer : default 0 : readable / writable / private / static-nick
80       / static-blurb)
81           Y position of child widget
82

SIGNALS

84       set-scroll-adjustments (Gtk2::Layout, Gtk2::Adjustment,
85       Gtk2::Adjustment)
86

SEE ALSO

88       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
89       Gtk2::Container
90
92       Copyright (C) 2003-2011 by the gtk2-perl team.
93
94       This software is licensed under the LGPL.  See Gtk2 for a full notice.
95
96
97
98perl v5.36.0                      2022-07-22                   Gtk2::Layout(3)
Impressum