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)

Source-backed Checkbox observing label at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Checkbox observing enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Checkbox observing label, enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


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.