attach

open fun attach(    child: Widget,     column: <Error class: unknown class>,     row: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)(source)

Adds a widget to the grid.

The position of @child is determined by @column and @row. The number of “cells” that @child will occupy is determined by @width and @height.

Parameters

child

the widget to add

column

the column number to attach the left side of @child to

row

the row number to attach the top side of @child to

width

the number of columns that @child will span

height

the number of rows that @child will span