[−][src]Trait wayland_protocols::unstable::xdg_shell::v6::client::zxdg_popup_v6::EventHandler
An interface for handling events.
Provided methods
fn configure(
&mut self,
object: ZxdgPopupV6,
x: i32,
y: i32,
width: i32,
height: i32
)
&mut self,
object: ZxdgPopupV6,
x: i32,
y: i32,
width: i32,
height: i32
)
configure the popup surface
This event asks the popup surface to configure itself given the configuration. The configured state should not be applied immediately. See xdg_surface.configure for details.
The x and y arguments represent the position the popup was placed at given the xdg_positioner rule, relative to the upper left corner of the window geometry of the parent surface.
fn popup_done(&mut self, object: ZxdgPopupV6)
popup interaction is done
The popup_done event is sent out when a popup is dismissed by the compositor. The client should destroy the xdg_popup object at this point.