Nesta página

IdleInhibitManagerV1 QML Type

Oferece uma extensão que permite desativar o comportamento de inatividade do compositor. Mais...

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

Descrição detalhada

A extensão IdleInhibitManagerV1 oferece uma maneira para que um cliente iniba o comportamento de inatividade do compositor quando uma superfície específica for visualmente relevante para o usuário.

O IdleInhibitManagerV1 corresponde à interface Wayland, zwp_idle_inhibit_manager_v1.

Para disponibilizar a funcionalidade da extensão em um compositor, crie uma instância do componente IdleInhibitManagerV1 e adicione-a à lista de extensões suportadas pelo compositor:

import QtWayland.Compositor

WaylandCompositor {
    IdleInhibitManagerV1 {
        // ...
    }
}

As superfícies inibidas têm a propriedade WaylandSurface::inhibitsIdle definida como true.

Veja também 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.