attach


Description:

public void attach (Actor child, int left, int top, int width, int height)

Adds a widget to the grid.

The position of child is determined by left and top. The number of 'cells' that child will occupy is determined by width and height.

Parameters:

this

a GridLayout

child

the Actor to add

left

the column number to attach the left side of child to

top

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