LEVIATHAN v962456e · 962456eee1

moby

class Focusable

since 0.1.0-alpha.1linux

bases
Component

Fields

focused

bool focused

focusHandlers_

Array<(bool) => void> focusHandlers_

focusTokens_

Array<int> focusTokens_

tabStop_

bool tabStop_

Methods

changed

changed() -> void

cursorPos

cursorPos() -> Point | None

isTabStop

isTabStop() -> bool

offFocusChange

offFocusChange(int token) -> void

onFocusChange

onFocusChange((bool) => void h) -> int

setFocused

setFocused(bool value) -> void

setTabStop

setTabStop(bool on) -> void