Skip to main content

init

Function init 

Source
pub fn init(theme: Theme)
Expand description

Installs the theme for this process. Later calls are ignored.

Call it before the first frame is drawn: theme falls back to auto and keeps it if it runs first.