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)
60           The GtkAdjustment for the horizontal position
61
62       'height' (Glib::UInt : default 100 : readable / writable / private)
63           The height of the layout
64
65       'vadjustment' (Gtk2::Adjustment : default undef : readable / writable /
66       private)
67           The GtkAdjustment for the vertical position
68
69       'width' (Glib::UInt : default 100 : readable / writable / private)
70           The width of the layout
71

CHILD PROPERTIES

73       'x' (integer : default 0 : readable / writable / private)
74           X position of child widget
75
76       'y' (integer : default 0 : readable / writable / private)
77           Y position of child widget
78

SIGNALS

80       set-scroll-adjustments (Gtk2::Layout, Gtk2::Adjustment,
81       Gtk2::Adjustment)
82

SEE ALSO

84       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
85       Gtk2::Container
86
88       Copyright (C) 2003-2011 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.30.1                      2020-01-30                   Gtk2::Layout(3)
Impressum