klayout
klayout copied to clipboard
pya.Application.instance().main_window().menu().insert_menu -- change in behaviour?
Hi Matthias,
I notice that the custom menu I added doesn't show up in the display in the newer version. Is this an intentional change, and is there a way to have it appear like it did in the 0.29.1, as per below?
KLayout 0.29.1 menu bar:
KLayout 0.29.6 menu bar:
This is implemented using:
pya.Application.instance().main_window().menu().insert_menu("help_menu", "siepic_menu", "SiEPIC 0.5.13 Py3")
I checked the documentation and couldn't find anything suggesting this should not be possible: https://www.klayout.de/doc-qt5/code/class_AbstractMenu.html
Could it be this change? https://github.com/KLayout/klayout/commit/11139cd4da6045235e91b6c1ecc479cbbc46a39a
thank you