hoffstadt / hoffstadt/DearPyGui

"released" handler for windows or viewport, or deactivated handler for those items.

Open
#1,626 0 comments 1 reaction 0 assignees View on GitHub
state: pending type: improvement
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

Firing an event after a window's dimension or position is changed by the user would be a useful feature.
I have an image resize function that's somewhat expensive so it would be good if there was a way to defer it until the window is released after the user resizes it rather than firing continuously. I noticed you can not add a deactivated handler to those items. Is there a way in the current API to do this? Otherwise I think that would be a useful feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.