pub fn simple_window<Message: 'static>(
live_settings: impl Fn() -> LiveSettings + Send + Sync + 'static,
settings: impl Fn() -> Settings + Send + Sync + 'static,
view: Option<impl Fn() -> Element<'static, Action<Message>> + Send + Sync + 'static>,
) -> (Id, Action)Available on
wayland_platform only.Expand description
Used to create a window message from within a widget.