Skip to main content

register

Function register 

Source
pub fn register(id: impl Into<String>, surface: Arc<dyn Surface>)
Expand description

Makes surface what <Surface source="id"/> widgets draw (replacing the one registered before).