8.5.2.13. pymodaq_gui.examples.sticky_menu_demo module
Demo of StickyMenu with three configurations:
Default (checkable-only): menu stays open only when a checkable action is clicked.
sticky_all=True: menu stays open for every click, checkable or not.
sticky_predicate: custom rule — here, only actions whose text starts with ‘[pin]’ stay open.
- class pymodaq_gui.examples.sticky_menu_demo.StickyMenuDemo(dockarea)[source]
Bases:
CustomAppMethods
setup_menus_and_toolbars([menubar])- params = []