Checkbox

@JvmName(name = "CheckboxState3bddea62a5dc_1")
fun UiScope.Checkbox(label: StateSource<UiText>, state: CheckboxState, width: Int = 150, enabled: Boolean = true, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "CheckboxState1d460d77bb71_1")
fun UiScope.Checkbox(label: StateSource<String>, state: CheckboxState, width: Int = 150, enabled: Boolean = true, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label for Checkbox at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Checkbox. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "CheckboxState3bddea62a5dc_2")
fun UiScope.Checkbox(label: UiText, state: CheckboxState, width: Int = 150, enabled: StateSource<Boolean>, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "CheckboxState1d460d77bb71_2")
fun UiScope.Checkbox(label: String, state: CheckboxState, width: Int = 150, enabled: StateSource<Boolean>, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes enabled for Checkbox at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Checkbox. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "CheckboxState3bddea62a5dc_3")
fun UiScope.Checkbox(label: StateSource<UiText>, state: CheckboxState, width: Int = 150, enabled: StateSource<Boolean>, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "CheckboxState1d460d77bb71_3")
fun UiScope.Checkbox(label: StateSource<String>, state: CheckboxState, width: Int = 150, enabled: StateSource<Boolean>, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label, enabled for Checkbox at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Checkbox. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


fun UiScope.Checkbox(label: UiText, state: CheckboxState, width: Int = 150, enabled: Boolean = true, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Emits one Minecraft-profile Checkbox backed by caller-owned state.

Native pointer and focused keyboard input update the state before emitting dev.s7a.strata.action.ComponentActions.CheckedChange through the Modifier chain.

Receiver

active owner-thread screen scope.

Parameters

label

unresolved visible and semantic label.

state

caller-owned selected state.

width

maximum fixed logical width including the 20-pixel box and four-pixel gap.

enabled

whether input and enabled semantics are active.

modifier

active layout, input, and typed action behavior.

key

optional stable sibling identity.


fun UiScope.Checkbox(label: String, state: CheckboxState, width: Int = 150, enabled: Boolean = true, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Literal-label overload of Checkbox.