提供
xdg_popup
interface that implements popup features for the xdg-shell protocol.
更多...
import 语句: | import QtWayland.Compositor 1.0 |
Since: | Qt 5.8 |
This type is part of the XdgShellV5 extension and provides a way to extend the functionality of an existing WaylandSurface for handling popup surfaces created by clients using xdg-shell.
It corresponds to the Wayland interface
xdg_popup
for the unstable xdg-shell protocol v5.
parentSurface : WaylandSurface |
This property holds the surface associated with the parent of this XdgPopupV5 .
position : point |
This property holds the location of the upper left corner of the surface relative to the upper left corner of the parent surface, in surface local coordinates.
shell : XdgShellV5 |
This property holds the shell associated with this XdgPopupV5 .
surface : WaylandSurface |
This property holds the surface associated with this XdgPopupV5 .
void initialize ( XdgShellV5 shell , WaylandSurface surface , WaylandSurface parentSurface , point position , WaylandResource resource ) |
Initializes the xdg popup, associating it with the given shell , surface , parentSurface , position and resource .