WlShellSurface QML Type
표면에 데스크톱 스타일의 컴포지터 전용 기능을 제공하는 ‘ wl_shell_surface ’를 제공합니다. 더 보기...
| Import Statement: | import QtWayland.Compositor.WlShell |
| In C++: | QWaylandWlShellSurface |
속성
- className : string
- shell : WlShell
- surface : WaylandSurface
- title : string
- windowType : enum
방법
- void initialize(WlShell shell, WaylandSurface surface, WaylandResource resource)
- void ping()
- void sendConfigure(size s, enum edges)
- void sendPopupDone()
상세 설명
이 타입은 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)
클라이언트에 configure 이벤트를 전송하여, 표면 s 을 제공된 크기로 조정할 것을 제안합니다. edges 는 표면이 어떻게 조정되었는지에 대한 힌트를 제공합니다.
void sendPopupDone()
사용자가 클라이언트의 표면 외부 어딘가를 클릭했음을 알리기 위해 클라이언트에 popup_done 이벤트를 전송합니다.
© 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.