forEach

fun ButtonGroup.forEach(consumer: (AbstractButton) -> Unit)

Executes a consumer for each button in a group.

Parameters

consumer

the function to apply to each button

Sources

Link copied to clipboard