Open neurosock opened 3 weeks ago
Hello,
Thank you for your post. Your code is quite good, and close to the minimal setup if we want it to be a good template starting point. Removing code would make it less extensible and/or less usable as a starting point.
Now, to address the question in the code: "what does run_params.docking_params.layout_condition
stand for?": by default, if you do rearrange the docks when the app is running the modified layout is preserved when restarting the app.
If you want to always restore the default layout upon restarting, uncomment this line:
run_params.docking_params.layout_condition = hello_imgui.DockingLayoutCondition.application_start
Awesome. Thanks!
For fun, and to have a template, I have been trying to write a minimal docking example using hello_imgui and immapp. Here is what I came up with. Can this get even more minimal/shorter (just to show two empty panels)?
Code: