hoffstadt / hoffstadt/DearPyGui
support for WantCaptureMouse
- 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.**
Loving DearPyGui, but it appears to have no support for "WantCaptureMouse". This variable is described in the [ocornut/imgui repo](https://github.com/ocornut/imgui/blob/master/imgui.h):
"_Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.)._"
**Describe the solution you'd like**
A method to access this variable would be helpful. A callback that occurs when this value changes would also be helpful, though not as important.
**Additional context**
Feature does not appear in the `dpg.demo.show_demo()`, but appears in the `dpg.show_imgui_demo()`:

Contributor guide
Assessment
This issue has not been assessed yet.