News for hackers. Stuff that matters.
Re:DearPyGui by amelius on Saturday August 29, 2020 @02:58PM (#24318570)
This library has functions such as add_button() that can be used to create a hierarchy of widgets. From this, I suspect that the library is not fully operating in immediate mode, but perhaps it uses some kind of mixed mode?
Re:DearPyGui by formerly_proven on Saturday August 29, 2020 @03:04PM (#24318615)
The example only goes through the code once and then enters a GUI loop and also uses callbacks, so ... yeah. Doesn't look like immediate mode GUI to me.
Re:DearPyGui by Jhchimaira14 on Saturday August 29, 2020 @11:01PM (#24321023)
The hybrid aspect of it is through using it's data storage system, opening the event loop, clearing widgets every frame, and adding them every frame. We haven't completed the full documentation on using it this way but its there. And because of the IMGUI underneath, using it this way doesn't take any real performance hits.
Re:DearPyGui by dragonwriter on Saturday August 29, 2020 @03:57PM (#24318963)
> From this, I suspect that the library is not fully operating in immediate mode, but perhaps it uses some kind of mixed mode?

From the linked readme: “DearPyGui provides a wrapping of DearImGui that provides a hybrid of a traditional retained mode GUI and Dear ImGui's immediate mode paradigm.”