About all my projects
Gnome::Gtk4::LayoutChild

Gnome::Gtk4::LayoutChild

Description

Gnome::Gtk4::LayoutChild is the base class for objects that are meant to hold layout properties.

If a Gnome::Gtk4::LayoutManager has per-child properties, like their packing type, or the horizontal and vertical span, or the icon name, then the layout manager should use a Gnome::Gtk4::LayoutChild implementation to store those properties.

A Gnome::Gtk4::LayoutChild instance is only ever valid while a widget is part of a layout.

Class initialization

new

:native-object

Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object :$native-object! )

Methods

get-child-widget

Retrieves the Gnome::Gtk4::Widget associated to the given $layout-child.

method get-child-widget (--> N-Object )

Return value; a Gnome::Gtk4::Widget.

get-layout-manager

Retrieves the Gnome::Gtk4::LayoutManager instance that created the given $layout-child.

method get-layout-manager (--> N-Object )

Return value; a Gnome::Gtk4::LayoutManager.