pub fn simple_subsurface<Message: 'static>(
settings: impl Fn() -> SctkSubsurfaceSettings + Send + Sync + 'static,
view: Option<Box<dyn Fn() -> Element<'static, Action<Message>> + Send + Sync + 'static>>,
) -> ActionAvailable on
wayland_platform only.Expand description
Used to create a subsurface message from within a widget.