Skip to main content

close_anywhere

Function close_anywhere 

Source
pub fn close_anywhere(ctx: &Context, id: Id) -> bool
Expand description

Closes an overlay, with those above it, or a followed popup, in whichever window it is open: what an application’s bus does when a popup is closed by a request (its window closing under it). The overlays above it are told closed (Closing::Below); it is not (the caller is closing it). Whether it was open.