ltk::theme::accessors

Function color

Source
pub fn color(id: &str) -> Option<Color>
Expand description

Resolve a colour slot in the active mode. None when the slot is missing, empty, or not a Slot::Color (use paint() if a gradient should also be acceptable).