[−][src]Function wayland_raw_protocol_bindings::client::xdg_shell_unstable_v5::xdg_shell::xdg_shell_get_xdg_popup
pub unsafe fn xdg_shell_get_xdg_popup(
xdg_shell: *mut xdg_shell,
surface: *mut wl_surface,
parent: *mut wl_surface,
seat: *mut wl_seat,
serial: u32,
x: i32,
y: i32
) -> *mut xdg_popup
create a popup for a surface
This creates an xdg_popup for the given surface and gives it the xdg_popup role. A wl_surface can only be given an xdg_popup role once. If get_xdg_popup is called with a wl_surface that already has an active xdg_popup associated with it, or if it had any other role, an error is raised.
This request must be used in response to some sort of user action like a button press, key press, or touch down event.
See the documentation of xdg_popup for more details about what an xdg_popup is and how it is used.