이 페이지에서

XdgSurface QML Type

XdgSurface는 xdg 표면에 데스크톱 스타일의 컴포지터별 기능을 제공합니다. 더 보기...

Import Statement: import QtWayland.Compositor.XdgShell
In C++: QWaylandXdgSurface

속성

방법

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

상세 설명

이 타입은 XdgShell 확장 기능의 일부이며, 표면의 크기 조정 및 이동과 같은 데스크톱 스타일 컴포지터에 특화된 기능을 통해 기존 WaylandSurface 의 기능을 확장하는 방법을 제공합니다.

이는 Wayland 인터페이스 xdg_surface 에 해당합니다.

속성 설명

이 속성은 팝업 XdgSurface 에 특화된 속성과 메서드를 포함합니다.

toplevel 및 XdgShell::popupCreated도 참조하십시오 .

shell : XdgShell [read-only]

이 속성은 이 XdgSurface 에 연결된 셸을 포함합니다.

surface : WaylandSurface [read-only]

이 속성은 이 XdgSurface 에 연결된 표면을 저장합니다.

toplevel : XdgToplevel [read-only]

이 속성은 최상위 XdgSurface 에 고유한 속성과 메서드를 포함합니다.

popup 및 XdgShell::toplevelCreated도 참조하십시오 .

windowGeometry : rect [read-only]

이 속성은 이 XdgSurface 의 창 지오메트리를 저장합니다. 창 지오메트리는 사용자의 관점에서 볼 때 창의 가시 영역을 나타냅니다. 이 지오메트리에는 클라이언트가 그린 제목 표시줄과 테두리가 포함되지만, 드롭 섀도우는 제외됩니다. 이 속성은 창을 정렬하거나 나란히 배치하는 데 사용됩니다.

windowType : enum [read-only]

이 속성은 XdgSurface 의 창 유형을 나타냅니다.

메서드 설명

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

XdgSurface 를 초기화하고, 이를 주어진 xdgShell, surface, client 및 id 와 연관시킵니다.

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