IdleInhibitManagerV1 QML Type
Fournit une extension qui permet d'inhiber le comportement inactif du compositeur. Plus d'informations...
| Import Statement: | import QtWayland.Compositor |
| In C++: | QWaylandIdleInhibitManagerV1 |
Description détaillée
L'extension IdleInhibitManagerV1 permet à un client d'inhiber le comportement d'inactivité du compositeur lorsqu'une surface spécifique est visuellement pertinente pour l'utilisateur.
IdleInhibitManagerV1 correspond à l'interface Wayland, zwp_idle_inhibit_manager_v1.
Pour fournir la fonctionnalité de l'extension dans un compositeur, créez une instance du composant IdleInhibitManagerV1 et ajoutez-le à la liste des extensions prises en charge par le compositeur :
import QtWayland.Compositor WaylandCompositor { IdleInhibitManagerV1 { // ... } }
Les surfaces inhibées ont la propriété WaylandSurface::inhibitsIdle définie sur true.
Voir également 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.