pthom / hello_imgui

Hello, Dear ImGui: unleash your creativity in app development and prototyping

Home Page:https://pthom.github.io/hello_imgui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to put user menu items between the App Menu and the View Menu

kuchi opened this issue · comments

Apologies if I missed it in the documentation, I want to add a File menu to the application menus. But when I add my callback using (I am using the python bindings)

runner_params = immapp.RunnerParams()
runner_params.callbacks.show_menus = [my menu ui function]

the menu it is by default after the View menu. If I want to have my menu ui run before the View menu is generated is there a way to specify that (or that the auto generated View menu goes after? I didn't notice any config in the runner_params that would allow me to do this.

Thanks

Hello Anthony,

You are right, this was a missing part of the API. I corrected this. See b2f6546

See usage in python

You will need to build the python package from source