8.6.2.14. 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.