ltk::theme::accessors

Function paint

Source
pub fn paint(id: &str) -> Option<Paint>
Expand description

Resolve a paint slot (solid or gradient) in the active mode. A plain Slot::Color is promoted to Paint::Solid. None for missing or non-paintable slots (e.g. a text-style).