About all my projects
Gnome::Gtk4::GridLayoutChild

Gnome::Gtk4::GridLayoutChild

Description

Gnome::Gtk4::LayoutChild subclass for children in a Gnome::Gtk4::GridLayout.

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-column

Retrieves the column number to which $child attaches its left side.

method get-column (--> Int )

Return value; the column number.

get-column-span

Retrieves the number of columns that $child spans to.

method get-column-span (--> Int )

Return value; the number of columns.

get-row

Retrieves the row number to which $child attaches its top side.

method get-row (--> Int )

Return value; the row number.

get-row-span

Retrieves the number of rows that $child spans to.

method get-row-span (--> Int )

Return value; the number of row.

set-column

Sets the column number to attach the left side of $child.

method set-column ( Int() $column )
  • $column; the attach point for $child.

set-column-span

Sets the number of columns $child spans to.

method set-column-span ( Int() $span )
  • $span; the span of $child.

set-row

Sets the row to place $child in.

method set-row ( Int() $row )
  • $row; the row for $child.

set-row-span

Sets the number of rows $child spans to.

method set-row-span ( Int() $span )
  • $span; the span of $child.