IdleInhibitManagerV1 QML Type
Fournit une extension permettant de désactiver le comportement par défaut du compositeur en mode veille. En savoir plus...
| Import Statement: | import QtWayland.Compositor |
| In C++: | QWaylandIdleInhibitManagerV1 |
Description détaillée
L'extension IdleInhibitManagerV1 permet à un client de désactiver le comportement de veille du compositeur lorsqu'une surface spécifique est visuellement pertinente pour l'utilisateur.
IdleInhibitManagerV1 correspond à l'interface Wayland zwp_idle_inhibit_manager_v1.
Pour intégrer la fonctionnalité de l’extension dans un compositeur, créez une instance du composant IdleInhibitManagerV1 et ajoutez-la à 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.