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

NAME

6       Gtk2::AspectFrame
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

METHODS

22       widget = Gtk2::AspectFrame->new ($label, $xalign, $yalign, $ratio,
23       $obey_child)
24
25           * $label (string)
26           * $xalign (double)
27           * $yalign (double)
28           * $ratio (double)
29           * $obey_child (boolean)
30
31       $aspect_frame->set_params ($xalign, $yalign, $ratio, $obey_child)
32
33           * $xalign (double)
34           * $yalign (double)
35           * $ratio (double)
36           * $obey_child (boolean)
37

PROPERTIES

39       'obey-child' (boolean : readable / writable / private)
40           Force aspect ratio to match that of the frame's child
41
42       'ratio' (Glib::Float : readable / writable / private)
43           Aspect ratio if obey_child is FALSE
44
45       'xalign' (Glib::Float : readable / writable / private)
46           X alignment of the child
47
48       'yalign' (Glib::Float : readable / writable / private)
49           Y alignment of the child
50

SEE ALSO

52       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
53       Gtk2::Container, Gtk2::Bin, Gtk2::Frame
54
56       Copyright (C) 2003-2007 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.8.8                       2007-03-18              Gtk2::AspectFrame(3)
Impressum