Owned menu plug-in tokens
Registration and explicit unload.
The retained catalogue records these interaction checks: Install twice: one menu/action token pair; trigger plugin_action; unload twice: zero tokens and detached menu; reinstall works; FontLab menus unchanged.
This is an archived example. Review its imports and host assumptions before running it.
Source
Retained source SHA256: e4c04bf842585c9dd42bc884785f98bc21ce488ce76fa3c4c0ddc9661b98a169. The exact source and licence remain in the repository at plugin-tokens.py.txt. The source is not executed by this site.