checked

inline fun CheckableStyleScope.checked(block: () -> Unit)

Runs block while the component is declared checked. A change of checked runs the style again.

The look and feel honors the font, foreground, toolTip and per-state icons set in block. A property the look and feel paints itself, such as the background, may not show.

Parameters

block

the declarations that apply while the component is declared checked.