Skip to main content

set_theme

Function set_theme 

Source
pub fn set_theme(theme: Theme)
Expand description

Replaces the whole theme. The Renderer receives it in the batch this call produces.

The theme is one record. Nothing in the tree is resent, because every node reads the theme from the Renderer’s side.