LvglFlag

On/Off features controlling the object's behavior. Note that OR-ed values are possible.

Entries

Link copied to clipboard

Make the object hidden. Like it wasn't there at all.

Link copied to clipboard

Make the object clickable by the input devices.

Link copied to clipboard

Add focused state to the object when clicked.

Link copied to clipboard

Toggle checked state when the object is clicked.

Link copied to clipboard

Make the object scrollable.

Link copied to clipboard

Allow scrolling inside but with slower speed.

Link copied to clipboard

Make the object scroll further when thrown.

Link copied to clipboard

Allow scrolling only one snapable children.

Link copied to clipboard

Allow propagating the horizontal scroll to a parent.

Link copied to clipboard

Allow propagating the vertical scroll to a parent.

Link copied to clipboard

Allow propagating the scroll to a parent.

Link copied to clipboard

Automatically scroll object to make it visible when focused.

Link copied to clipboard

Allow scrolling the focused object with arrow keys.

Link copied to clipboard

If scroll snap is enabled on the parent it can snap to this object.

Link copied to clipboard

Keep the object pressed even if the press slid from the object.

Link copied to clipboard

Propagate the events to the parent too.

Link copied to clipboard

Propagate the gestures to the parent.

Link copied to clipboard

Allow performing more accurate hit (click) test. For example, consider rounded corners.

Link copied to clipboard

Make the object position-able by the layouts.

Link copied to clipboard

Do not scroll the object when the parent scrolls and ignore layout.

Link copied to clipboard

Do not clip the children's content to the parent's boundary.

Link copied to clipboard

Custom flag, free to use by layouts.

Link copied to clipboard

Custom flag, free to use by layouts.

Link copied to clipboard

Custom flag, free to use by widget.

Link copied to clipboard

Custom flag, free to use by widget.

Link copied to clipboard

Custom flag, free to use by user.

Link copied to clipboard

Custom flag, free to use by user.

Link copied to clipboard

Custom flag, free to use by user.

Link copied to clipboard

Custom flag, free to use by user.

Functions

Link copied to clipboard
fun valueOf(value: String): LvglFlag

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
expect val LvglFlag.value: UInt

A unique value for the LvglFlag.

actual val LvglFlag.value: UInt
actual val LvglFlag.value: UInt