Skip to main content

install_theme

Function install_theme 

Source
pub fn install_theme(cx: &mut App, theme: Theme)
Expand description

Install a theme for this application. Call early during app startup.

Schedules a redraw of all windows so the new theme takes effect immediately instead of waiting for the next frame.