このページでは

IdleInhibitManagerV1 QML Type

コンポジターのアイドル時の動作を抑制できる拡張機能を提供します。詳細...

Import Statement: import QtWayland.Compositor
In C++: QWaylandIdleInhibitManagerV1

詳細な説明

IdleInhibitManagerV1 拡張機能は、特定のサーフェスがユーザーにとって視覚的に重要な場合、クライアントがコンポジターのアイドル動作を抑制する手段を提供します。

IdleInhibitManagerV1 は、Wayland インターフェースzwp_idle_inhibit_manager_v1 に対応しています。

コンポジターでこの拡張機能の機能を提供するには、IdleInhibitManagerV1 コンポーネントのインスタンスを作成し、それをコンポジターがサポートする拡張機能のリストに追加します:

import QtWayland.Compositor

WaylandCompositor {
    IdleInhibitManagerV1 {
        // ...
    }
}

アイドル状態が抑制されているサーフェスでは、WaylandSurface::inhibitsIdle プロパティがtrue に設定されています。

「WaylandSurface::inhibitsIdle」も参照してください 。

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