Package-level declarations

Types

Link copied to clipboard

Typed retained focus transition delivered only when focused ownership changes.

Link copied to clipboard

Result of pointer handling.

Link copied to clipboard
sealed interface KeyboardEvent

Immutable typed keyboard event delivered to the currently focused retained component.

Link copied to clipboard
class KeyboardInputFilter(keys: Set<KeyCode> = emptySet(), val modifiers: KeyboardModifiers? = null)

Immutable keyboard subscription evaluated before local dispatch and again before a remote handler runs. An empty key set or null modifiers accept any key or modifier combination. Modifier matching compares held Shift, Control, Alt, and Super keys exactly; Caps Lock and Num Lock do not change shortcut matching.

Link copied to clipboard
data class KeyboardModifiers(val shift: Boolean = false, val control: Boolean = false, val alt: Boolean = false, val superKey: Boolean = false, val capsLock: Boolean = false, val numLock: Boolean = false)

Immutable typed keyboard modifier state captured with one key event.

Link copied to clipboard
data class KeyCode(val value: Int)

Typed platform-neutral carrier for one physical keyboard key code.

Link copied to clipboard
sealed interface PointerButton

Typed pointer button values accepted by the initial pointer protocol.

Link copied to clipboard
sealed interface PointerEvent

Initial pointer protocol events delivered after layout hit testing.

Link copied to clipboard

Typed transition of a pointer across one laid-out hit region.

Link copied to clipboard
sealed interface TextInputEvent

Immutable committed-character or input-method preedit event delivered to the currently focused component.