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         Gtk2::Buildable
18

METHODS

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

PROPERTIES

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

SEE ALSO

49       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
50
52       Copyright (C) 2003-2008 by the gtk2-perl team.
53
54       This software is licensed under the LGPL.  See Gtk2 for a full notice.
55
56
57
58perl v5.12.0                      2010-05-02                     Gtk2::Misc(3)
Impressum