gridGroup

inline fun <S> KWidget<S>.gridGroup(itemSize: Float = 256.0f, spacing: Float = 8.0f, init: KGridGroup.(S) -> Unit = {}): KGridGroup

Return

a GridGroup instance added to this group.

Parameters

itemSize

size of stored items.

spacing

item spacing of this group.

init

will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.