IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

XdgSurface QML Type

XdgSurface provides desktop-style compositor-specific features to an xdg surface.

This type was introduced in Qt 5.12.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

XdgSurface QML Type

  • Import Statement: import QtWayland.Compositor.XdgShell

  • Since:: Qt 5.12

Detailed Description

This type is part of the XdgShell extension and provides a way to extend the functionality of an existing WaylandSurface with features specific to desktop-style compositors, such as resizing and moving the surface.

It corresponds to the Wayland interface xdg_surface.

Property Documentation

 

popup : XdgPopup

See Also

shell : XdgShell

This property holds the shell associated with this XdgSurface.

surface : WaylandSurface

This property holds the surface associated with this XdgSurface.

toplevel : XdgToplevel

This property holds the properties and methods that are specific to the toplevel XdgSurface.

See Also

windowGeometry : rect

This property holds the window geometry of the QWaylandXdgSurface. The window geometry describes the window's visible bounds from the user's perspective. The geometry includes title bars and borders if drawn by the client, but excludes drop shadows. It is meant to be used for aligning and tiling windows.

windowType : enum

This property holds the window type of the XdgSurface.

Method Documentation

 

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

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+