LvglPart

Represents a part of an LVGL object. For example a Base object uses the main and scrollbar parts, but a Slider uses the main, indicator, and the knob parts. Parts are similar to pseudo elements in CSS.

Entries

Link copied to clipboard

A background like rectangle.

Link copied to clipboard

The scrollbars.

Link copied to clipboard

Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox.

Link copied to clipboard

Like a handle to grab to adjust the value.

Link copied to clipboard

Indicate the currently selected option or section.

Link copied to clipboard

Used if the widget has multiple similar elements (e.g. table cells).

Link copied to clipboard

Ticks on scales e.g. for a chart or meter.

Link copied to clipboard

Mark a specific place e.g. text area's or chart's cursor.

Link copied to clipboard

Custom parts can be added from here.

Functions

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

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 LvglPart.value: UInt

A unique value for the LvglPart.

actual val LvglPart.value: UInt
actual val LvglPart.value: UInt