Closed Guillaume227 closed 1 year ago
Hello!
Thanks for the remark. You are right these should be separated. I made some modifications for this:
With https://github.com/pthom/hello_imgui/commit/09940d0d3af66536a633ec92dab8facd6e984f83, you can set a different value for the app menu name.
With https://github.com/pthom/hello_imgui/commit/104f43d11620ead25dd5b98030e7909796215f63, you can add custom elements at the beginning of the App menu (before the Quit menu item).
Also, if you are using ImGui Bundle, I also updated the python bindings there.
Please tell me if it works for you.
Cheers.
PS: It was nice to see some feedback with a screenshot :-) Would you say that the experience with HelloImGui handling of docking and menu is easy / pleasing?
I can confirm this fully addresses my earlier questions and needs. I am in the process of trying out hello_imgui by porting an existing 'pure' imgui application.
Docking is definitely nicer with hello_imgui. I was mulling a similar approach before I came upon your project so it's great I am able to reuse that instead. I have a question related to that so I will create another issue for that.
It feels like with hello_imgui I would have streamlined my original and rather hairy imgui integration. It's still early stage for me but your amazing support makes it very enticing to keep going in that direction.
I am not using ImGui Bundle yet, although I am using implot (which is also fantastic).
Hello again !
I initially populate my RunnerParams with:
When I update the window title once the application is up and running with the following statement:
I noticed that the App menu name gets updated to my title variable while the main window title remains the same as the value that was in the
RunnerParams
I originally passed toHelloImGui::Run()
. In the following example the initial value ofappWindowParams.windowTitle
was just "MyApp", then updated to "MyApp 2023.1.1" :Note: the
Settings
menu you can see in the image is my own custom menu on top of the App and View built-ins.This behavior is a bit surprising to me and I want to clarify what is a feature and what might be a bug. It also makes me wonder if there is a way to control separately the name of the
App
menu from the main window title ? My expectation was that appWindowParams.windowTitle would only affect the main window title bar and not the App menu entry name.