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

NAME

6       Gtk2::AspectFrame - wrapper for GtkAspectFrame
7

HIERARCHY

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

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21

METHODS

23   widget = Gtk2::AspectFrame->new ($label, $xalign, $yalign, $ratio,
24       $obey_child)
25       ·   $label (string or undef)
26
27       ·   $xalign (double)
28
29       ·   $yalign (double)
30
31       ·   $ratio (double)
32
33       ·   $obey_child (boolean)
34
35   $aspect_frame->set_params ($xalign, $yalign, $ratio, $obey_child)
36       ·   $xalign (double)
37
38       ·   $yalign (double)
39
40       ·   $ratio (double)
41
42       ·   $obey_child (boolean)
43

PROPERTIES

45       'obey-child' (boolean : default true : readable / writable / private)
46           Force aspect ratio to match that of the frame's child
47
48       'ratio' (float : default 1 : readable / writable / private)
49           Aspect ratio if obey_child is FALSE
50
51       'xalign' (float : default 0.5 : readable / writable / private)
52           X alignment of the child
53
54       'yalign' (float : default 0.5 : readable / writable / private)
55           Y alignment of the child
56

SEE ALSO

58       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
59       Gtk2::Container, Gtk2::Bin, Gtk2::Frame
60
62       Copyright (C) 2003-2011 by the gtk2-perl team.
63
64       This software is licensed under the LGPL.  See Gtk2 for a full notice.
65
66
67
68perl v5.30.0                      2019-07-26              Gtk2::AspectFrame(3)
Impressum