1Gtk2::Alignment(3) User Contributed Perl Documentation Gtk2::Alignment(3)
2
3
4
6 Gtk2::Alignment
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Alignment
16
18 Glib::Object::_Unregistered::AtkImplementorIface
19 Gtk2::Buildable
20
22 widget = Gtk2::Alignment->new ($xalign, $yalign, $xscale, $yscale)
23 · $xalign (double)
24
25 · $yalign (double)
26
27 · $xscale (double)
28
29 · $yscale (double)
30
31 $alignment->set ($xalign, $yalign, $xscale, $yscale)
32 · $xalign (double)
33
34 · $yalign (double)
35
36 · $xscale (double)
37
38 · $yscale (double)
39
40 (padding_top, padding_bottom, padding_left, padding_right) =
41 $alignment->get_padding
42 Since: gtk+ 2.4
43
44 $alignment->set_padding ($padding_top, $padding_bottom, $padding_left,
45 $padding_right)
46 · $padding_top (integer)
47
48 · $padding_bottom (integer)
49
50 · $padding_left (integer)
51
52 · $padding_right (integer)
53
54 Since: gtk+ 2.4
55
57 'bottom-padding' (Glib::UInt : readable / writable / private)
58 The padding to insert at the bottom of the widget.
59
60 'left-padding' (Glib::UInt : readable / writable / private)
61 The padding to insert at the left of the widget.
62
63 'right-padding' (Glib::UInt : readable / writable / private)
64 The padding to insert at the right of the widget.
65
66 'top-padding' (Glib::UInt : readable / writable / private)
67 The padding to insert at the top of the widget.
68
69 'xalign' (Glib::Float : readable / writable / private)
70 Horizontal position of child in available space. 0.0 is left
71 aligned, 1.0 is right aligned
72
73 'xscale' (Glib::Float : readable / writable / private)
74 If available horizontal space is bigger than needed for the child,
75 how much of it to use for the child. 0.0 means none, 1.0 means all
76
77 'yalign' (Glib::Float : readable / writable / private)
78 Vertical position of child in available space. 0.0 is top aligned,
79 1.0 is bottom aligned
80
81 'yscale' (Glib::Float : readable / writable / private)
82 If available vertical space is bigger than needed for the child,
83 how much of it to use for the child. 0.0 means none, 1.0 means all
84
86 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
87 Gtk2::Container, Gtk2::Bin
88
90 Copyright (C) 2003-2008 by the gtk2-perl team.
91
92 This software is licensed under the LGPL. See Gtk2 for a full notice.
93
94
95
96perl v5.12.0 2010-05-02 Gtk2::Alignment(3)