XdgSurface QML Type

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

import 语句: import QtWayland.Compositor.XdgShell
实例化: QWaylandXdgSurface

特性

方法

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

详细描述

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 .

特性文档编制

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

另请参阅 toplevel and XdgShell::popupCreated .


[read-only] shell : XdgShell

This property holds the shell associated with this XdgSurface .


[read-only] surface : WaylandSurface

This property holds the surface associated with this XdgSurface .


[read-only] toplevel : XdgToplevel

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

另请参阅 popup and XdgShell::toplevelCreated .


[read-only] 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.


[read-only] windowType : enum

This property holds the window type of the XdgSurface .


方法文档编制

void initialize ( 对象 xdgShell , 对象 surface , 对象 client , int id )

初始化 XdgSurface , associating it with the given xdgShell , surface , client ,和 id .