clearState

expect open fun clearState(state: UShort)

Remove one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.

Parameters

state

The states to clear. E.g LV_STATE_PRESSED or LV_STATE_FOCUSED.


expect open fun clearState(state: LvglState)

Remove a state from the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.

Parameters

state

The state to clear. E.g LvglState.FOCUSED.

actual open fun clearState(state: UShort)
actual open fun clearState(state: LvglState)
actual open fun clearState(state: UShort)
actual open fun clearState(state: LvglState)