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

Gtk2::Layout - wrapper for GtkLayout

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Layout

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

  • $hadjustment (Gtk2::Adjustment or undef)
  • $vadjustment (Gtk2::Adjustment or undef)

adjustment = $layout->get_hadjustment

$layout->set_hadjustment ($adjustment)

$adjustment (Gtk2::Adjustment)

$layout->move ($child_widget, $x, $y)

  • $child_widget (Gtk2::Widget)
  • $x (integer)
  • $y (integer)

$layout->put ($child_widget, $x, $y)

  • $child_widget (Gtk2::Widget)
  • $x (integer)
  • $y (integer)

$layout->set_size ($width, $height)

  • $width (integer)
  • $height (integer)

adjustment = $layout->get_vadjustment

$layout->set_vadjustment ($adjustment)

$adjustment (Gtk2::Adjustment)

'hadjustment' (Gtk2::Adjustment : default undef : readable / writable / private / static-nick / static-blurb)
The GtkAdjustment for the horizontal position
'height' (Glib::UInt : default 100 : readable / writable / private / static-nick / static-blurb)
The height of the layout
'vadjustment' (Gtk2::Adjustment : default undef : readable / writable / private / static-nick / static-blurb)
The GtkAdjustment for the vertical position
'width' (Glib::UInt : default 100 : readable / writable / private / static-nick / static-blurb)
The width of the layout

'x' (integer : default 0 : readable / writable / private / static-nick / static-blurb)
X position of child widget
'y' (integer : default 0 : readable / writable / private / static-nick / static-blurb)
Y position of child widget

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

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