XdgSurface QML Type

Provides an XDG surface that offers desktop functionality. More...

Import Statement: import QtWayland.Compositor 1.0



Detailed Description

XdgSurface is part of the XdgShell extension and provides desktop functionality such as minimize, maximize, and resize using the xdg-shell protocol.

Property Documentation

parentSurface : object

This property holds the parent of this XdgSurface.

surface : object

This property holds the surface associated with this XdgSurface.

title : string

This property holds the title of the XdgSurface.

Method Documentation

void initialize(object surface, object client, int id)

Initializes the XdgSurface and associates it with the given surface, client, and id.

void sendClose()

Sends a close event to the client.

int sendConfigure(size size, List<uint>)

Sends a configure event to the client. Known states are enumerated in XdgSurface::State

© 2016 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.