Gtk2::AspectFrame(3) User Contributed Perl Documentation Gtk2::AspectFrame(3)

Gtk2::AspectFrame - wrapper for GtkAspectFrame

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Bin
                         +----Gtk2::Frame
                              +----Gtk2::AspectFrame

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable

  • $label (string or undef)
  • $xalign (double)
  • $yalign (double)
  • $ratio (double)
  • $obey_child (boolean)

  • $xalign (double)
  • $yalign (double)
  • $ratio (double)
  • $obey_child (boolean)

'obey-child' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Force aspect ratio to match that of the frame's child
'ratio' (float : default 1 : readable / writable / private / static-nick / static-blurb)
Aspect ratio if obey_child is FALSE
'xalign' (float : default 0.5 : readable / writable / private / static-nick / static-blurb)
X alignment of the child
'yalign' (float : default 0.5 : readable / writable / private / static-nick / static-blurb)
Y alignment of the child

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Frame

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0