pub fn register(id: impl Into<String>, surface: Arc<dyn Surface>)
Makes surface what <Surface source="id"/> widgets draw (replacing the one registered before).
surface
<Surface source="id"/>