Skip to main content

set_embed_interactive

Function set_embed_interactive 

Source
pub fn set_embed_interactive<T>(
    id: Id,
    embed_id: u64,
    interactive: bool,
) -> Task<T>
Expand description

Set interactivity for an embedded surface.

When interactive, pointer/keyboard/touch events within the embed region will be routed to the embedded toplevel.

ยงPlatform-specific

  • COSMIC/Wayland: Uses zcosmic_surface_embed_manager_v1 protocol.
  • Other platforms: No-op.