XdgPopupV5 QML Type

Provides a xdg_popup interface that implements popup features for the xdg-shell protocol. More...

Import Statement: import QtWayland.Compositor 1.1
Since: Qt 5.8

Properties

Methods

  • void initialize(XdgShellV5 shell, WaylandSurface surface, WaylandSurface parentSurface, point position, WaylandResource resource)

Detailed Description

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.

Property Documentation

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.


Method Documentation

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.


© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.