Function cosmic::iced_widget::runtime::window::spawn

source ยท
pub fn spawn<Message>(settings: Settings) -> (Id, Command<Message>)
Expand description

Spawns a new window with the given settings.

Returns the new window Id alongside the Command.