Grid.attach

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.

class Grid
void
attach
(,
int column
,
int row
,
int width
,
int height
)

Parameters

child Widget

the widget to add

column int

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

row int

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

width int

the number of columns that @child will span

height int

the number of rows that @child will span

Meta