About my projects, examples and tutorials
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.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/LayoutChild.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

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

Methods§

get-child-widget§

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

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

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 )
Code

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