Skip to main content

get_palette_color

Function get_palette_color 

Source
pub unsafe fn get_palette_color(
    object: *mut lv_obj_t,
    color: PaletteColor,
) -> Option<Color>
Expand description

Current palette color of the display showing object, or None when the theme is not active there.

ยงSafety

object must be live and the caller must hold the LVGL lock.