pub fn icon(child: impl UiNode, icon: impl IntoVar<WindowIcon>) -> impl UiNode
P Binds the icon window var with the property value.
P
icon
The binding is bidirectional and the window variable is assigned on init.