WlShellSurface QML Type

데스크톱 스타일의 컴포지터 관련 기능을 서페이스에 제공하는 wl_shell_surface 을 제공합니다. 더 보기...

Import Statement: import QtWayland.Compositor.WlShell
In C++: QWaylandWlShellSurface

속성

방법

상세 설명

이 유형은 WlShell 확장의 일부이며, 기존 WaylandSurface 의 기능을 확장하여 크기 조정 및 서피스 이동과 같은 데스크톱 스타일 컴포지터에 특화된 기능을 제공합니다.

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

속성 문서

className : string [read-only]

이 프로퍼티는 WlShellSurface 의 클래스 이름을 보유합니다.


shell : WlShell [read-only]

이 프로퍼티는 이 WlShellSurface 과 연관된 셸을 보유합니다.


surface : WaylandSurface [read-only]

이 프로퍼티는 이 WlShellSurface 과 연관된 wl_surface 을 보유합니다.


title : string [read-only]

이 속성은 WlShellSurface 의 제목을 보유합니다.


windowType : enum [read-only]

이 속성은 WlShellSurface 의 창 유형을 보유합니다.


메서드 문서

void initialize(WlShell shell, WaylandSurface surface, WaylandResource resource)

WlShellSurface 를 초기화하고 지정된 shell, surface, resource 와 연결합니다.


void ping()

클라이언트에 핑 이벤트를 보냅니다. 클라이언트가 이벤트에 응답하면 퐁 신호가 전송됩니다.


void sendConfigure(size s, enum edges)

클라이언트에 표면 크기를 제공된 크기 s 로 조정할 것을 제안하는 구성 이벤트를 보냅니다. edges 은 서페이스 크기 조정 방법에 대한 힌트를 제공합니다.


void sendPopupDone()

팝업_완료 이벤트를 클라이언트에 전송하여 사용자가 클라이언트 서피스 외부의 어딘가를 클릭했음을 나타냅니다.


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