Group - Garland-g/perl6-libui GitHub Wiki

Group

Libui::Group

A container that provides a title for a set of items. Can only have one child, which can be a container like a Box.

Methods

new(Str $title)

Creates a Group.

title() returns Str

Gets the title of the Group.

set-title(Str $title) or title(Str $title)

Sets the title of the Group.

set-child(Libui::Control $control) or set-content(Libui::Control $control)

Sets $control as the child of the Group.

margined() returns Bool

Returns the value of the margined property.

set-margined(Bool:D(Int) $margined) or margined(Bool:D(Int) $margined)

Sets the value of the margined property.