News for hackers. Stuff that matters.
Re:DearPyGui by formerly_proven on Sunday August 30, 2020 @12:52PM (#24324030)
> No widget state needs to be kept.

This is correct. Windows (which includes things like popups and dialogs) have "state behind your back", but widgets generally don't - at least I've never seen it in the code. 99 % of the examples given by other commenters are not handled by hidden widget state, but by g.activeID. As someone pointed out, changing IDs in the middle of an interaction is problematic for that reason (not because imgui fails to find the widget in its hidden tree of widgets, which doesn't exist).

There are no comments on this comment yet.