PropertyRadioChoicesDSL

class PropertyRadioChoicesDSL<V, P : Property<V>>(val property: P)

Constructors

Link copied to clipboard
constructor(property: P)

Properties

Link copied to clipboard
val property: P
Link copied to clipboard

Functions

Link copied to clipboard
fun propertyRadioButton(value: V, text: String, block: PropertyRadioButton<V, P>.() -> Unit? = null): PropertyRadioButton<V, P>

A PropertyRadioButton. Tantalum renders this with a circle, which is filled when selected.

Link copied to clipboard
fun propertyRadioButton2(value: V, text: String, block: PropertyRadioButton<V, P>.() -> Unit? = null): PropertyRadioButton<V, P>

A PropertyRadioButton. Tantalum renders this like a ToggleButton i.e. a button with a solid background. The selected radio button will use the accent color for its background. The others will use a grey background.

Link copied to clipboard
fun propertyRadioMenuItem(value: V, text: String, block: PropertyRadioMenuItem<V, P>.() -> Unit? = null): PropertyRadioMenuItem<V, P>