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

NAME

6       Gtk2::Alignment
7

HIERARCHY

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

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19

METHODS

21       widget = Gtk2::Alignment->new ($xalign, $yalign, $xscale, $yscale)
22
23           * $xalign (double)
24           * $yalign (double)
25           * $xscale (double)
26           * $yscale (double)
27
28       $alignment->set ($xalign, $yalign, $xscale, $yscale)
29
30           * $xalign (double)
31           * $yalign (double)
32           * $xscale (double)
33           * $yscale (double)
34
35       (padding_top, padding_bottom, padding_left, padding_right) = $align‐
36       ment->get_padding
37
38       $alignment->set_padding ($padding_top, $padding_bottom, $padding_left,
39       $padding_right)
40
41           * $padding_top (integer)
42           * $padding_bottom (integer)
43           * $padding_left (integer)
44           * $padding_right (integer)
45

PROPERTIES

47       'bottom-padding' (Glib::UInt : readable / writable / private)
48           The padding to insert at the bottom of the widget.
49
50       'left-padding' (Glib::UInt : readable / writable / private)
51           The padding to insert at the left of the widget.
52
53       'right-padding' (Glib::UInt : readable / writable / private)
54           The padding to insert at the right of the widget.
55
56       'top-padding' (Glib::UInt : readable / writable / private)
57           The padding to insert at the top of the widget.
58
59       'xalign' (Glib::Float : readable / writable / private)
60           Horizontal position of child in available space. 0.0 is left
61           aligned, 1.0 is right aligned
62
63       'xscale' (Glib::Float : readable / writable / private)
64           If available horizontal space is bigger than needed for the child,
65           how much of it to use for the child. 0.0 means none, 1.0 means all
66
67       'yalign' (Glib::Float : readable / writable / private)
68           Vertical position of child in available space. 0.0 is top aligned,
69           1.0 is bottom aligned
70
71       'yscale' (Glib::Float : readable / writable / private)
72           If available vertical space is bigger than needed for the child,
73           how much of it to use for the child. 0.0 means none, 1.0 means all
74

SEE ALSO

76       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
77       Gtk2::Container, Gtk2::Bin
78
80       Copyright (C) 2003-2007 by the gtk2-perl team.
81
82       This software is licensed under the LGPL.  See Gtk2 for a full notice.
83
84
85
86perl v5.8.8                       2007-03-18                Gtk2::Alignment(3)
Impressum