Gtk2::AspectFrame(3pm)

Gtk2::AspectFrame3pm

Wrapper for gtkaspectframe

Hierarchy

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

Interfaces

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

Methods

widget = Gtk2::AspectFrame->new ($label, $xalign, $yalign, $ratio, $obey_child)

•

$label (string or undef)

•

$xalign (double)

•

$yalign (double)

•

$ratio (double)

•

$obey_child (boolean)

$aspect_frame->set_params ($xalign, $yalign, $ratio, $obey_child)

•

$xalign (double)

•

$yalign (double)

•

$ratio (double)

•

$obey_child (boolean)

Properties

'obey-child' (boolean : default true : readable / writable / private)

Force aspect ratio to match that of the frame's child

'ratio' (float : default 1 : readable / writable / private)

Aspect ratio if obey_child is FALSE

'xalign' (float : default 0.5 : readable / writable / private)

X alignment of the child

'yalign' (float : default 0.5 : readable / writable / private)

Y alignment of the child

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.