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

NAME

6       Gtk2::Misc - wrapper for GtkMisc
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' (float : default 0.5 : readable / writable / private / static-
34       nick / static-blurb)
35           The horizontal alignment, from 0 (left) to 1 (right). Reversed for
36           RTL layouts.
37
38       'xpad' (integer : default 0 : readable / writable / private / static-
39       nick / static-blurb)
40           The amount of space to add on the left and right of the widget, in
41           pixels
42
43       'yalign' (float : default 0.5 : readable / writable / private / static-
44       nick / static-blurb)
45           The vertical alignment, from 0 (top) to 1 (bottom)
46
47       'ypad' (integer : default 0 : readable / writable / private / static-
48       nick / static-blurb)
49           The amount of space to add on the top and bottom of the widget, in
50           pixels
51

SEE ALSO

53       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
54
56       Copyright (C) 2003-2011 by the gtk2-perl team.
57
58       This software is licensed under the LGPL.  See Gtk2 for a full notice.
59
60
61
62perl v5.36.0                      2022-07-22                     Gtk2::Misc(3)
Impressum