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

NAME

6       Gtk2::Misc
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Misc
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17

METHODS

19       (xalign, yalign) = $misc->get_alignment
20
21       $misc->set_alignment ($xalign, $yalign)
22
23           * $xalign (double)
24           * $yalign (double)
25
26       (xpad, ypad) = $misc->get_padding
27
28       $misc->set_padding ($xpad, $ypad)
29
30           * $xpad (integer)
31           * $ypad (integer)
32

PROPERTIES

34       'xalign' (Glib::Float : readable / writable / private)
35           The horizontal alignment, from 0 (left) to 1 (right). Reversed for
36           RTL layouts.
37
38       'xpad' (integer : readable / writable / private)
39           The amount of space to add on the left and right of the widget, in
40           pixels
41
42       'yalign' (Glib::Float : readable / writable / private)
43           The vertical alignment, from 0 (top) to 1 (bottom)
44
45       'ypad' (integer : readable / writable / private)
46           The amount of space to add on the top and bottom of the widget, in
47           pixels
48

SEE ALSO

50       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
51
53       Copyright (C) 2003-2007 by the gtk2-perl team.
54
55       This software is licensed under the LGPL.  See Gtk2 for a full notice.
56
57
58
59perl v5.8.8                       2007-03-18                     Gtk2::Misc(3)
Impressum