isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
10.93k stars 2.24k forks source link

Can I have a local menubar for each window? #5629

Open geppi opened 1 year ago

geppi commented 1 year ago

Checklist

My Question

The current gui design only has a global menubar for all application windows that is connected to the gui.Application.instance. Checkable items like "Show menu" in the "Settings" menu entry of the example applications do therefore not necessarily reflect the state of the curreent window. You can e.g. hide the settings panel in one window while it is still visible in others. However, the "Show menu" item is displayed unchecked in all windows because of the global nature of the menubar.

decamargo10 commented 1 year ago

Agreed, there should be an option to change the menu for a new window. It would help a lot already if there would be a way to check from which window a menu call is coming from. But as far as I know, there is no way to do that yet. If there is I would be more than happy to learn about it-