pub fn surface(id: impl Into<String>) -> Widget
A box drawn by the code — the Surface registered under id with crate::surface::register. No natural size: give it w/h (or let a parent stretch it).
Surface
id
crate::surface::register
w
h