hoffstadt / hoffstadt/DearPyGui
IsAny or current polling state
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
determine if any item is hovered, clicked, focused ect,
we could turn current polling of is_item_*** into an optional item tag input and if no item is given then assume all and map to imgui isAny commands and even another argument to determine of a specific type
reason is because this on python would require looping through all items
other solution could be to capture current polling state like clicked ect and return the whole "snap shot of state at moment" as a dict of hovered item is **** or None, clicked item is *** or none
the second solution would also prevent from having to loop all items on the python side to determine which item is hovered or knowing ahead of time, we could just get the item Is from the imGui context
Contributor guide
Assessment
This issue has not been assessed yet.