XdgPopup QML Type

Provides menus for an xdg surface More...

Import Statement: import QtWayland.Compositor 1.0

Properties

Methods

  • void initialize(object surface, object parentSurface, object resource)

Detailed Description

XdgPopup is part of the XdgShell extension and provides desktop-style menus for an XdgSurface.

It corresponds to the Wayland interface xdg_popup.

Property Documentation

parentSurface : object

This property holds the surface associated with the parent of this XdgPopup.


surface : object

This property holds the surface associated with this XdgPopup.


Method Documentation

void initialize(object surface, object parentSurface, object resource)

Initializes the xdg popup and associates it with the given shell, surface, parentSurface, and resource.