Hover❖
Module path❖
kivydk.uix.manager.hover
Overview❖
This manager coordinates hover detection by keeping a registry of widgets that support hover interactions and performing optimized checks to determine which one is currently under the cursor. This centralized approach eliminates redundant per‑widget computations and ensures that only the relevant widgets are evaluated until a hover target is identified.
Reference❖
- HoverManager: HoverManagerBase = <kivydk.uix.manager.hover.HoverManagerBase object>❖
Global manager responsible for efficient hover detection.
- class HoverManagerBase(**kwargs)❖
Bases:
EventDispatcherCentralized manager responsible for efficient hover detection across all widgets that inherit from
HoverBehavior.Todo
Sort system need to be implemented. Usually the last registered widgets have high chance to be hovered ones.
- Some system to group widgets in chunks and to check them first.
Tree system will be faster if the UIX become more complex.