> A few problems with this GUI style are: > You have to write lots of code to manage the the creation and destruction of GUI objects. [..] > The creation and destruction problem leads to slow unresponsive UIs [..] > You have to marshal your data into and out of the widgets. [..] My biggest pain point with the retained mode GUIs I worked with was none of the issues mentioned above. It was always the centralized GUI th…
Immediate mode, if anything, makes this harder. (You absolutely have to run the GUI on one thread, for instance). Really though you can get around that on either of them by spawning a worker thread/coroutine/etc. on button clicks and so on.
My hope was that with an immediate mode framework I could just show a progress bar on top of the existing GUI right from the worker thread. I don't know enough about immediate mode to say if this is really possible. It would simplify a lot of my code though.