fontlab_glyport.plugins.menus.AppMenu
AppMenu
The Glyphs.menu proxy: keys are the GlyphsApp *_MENU constants.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__getitem__ |
function | (self, key: Any) -> _HostMenu |
|
__init__ |
function | (self, host: PluginHost, *, wrap: Callable | None=None) |
<code>wrap</code> (e.g. |
close |
function | (self) -> None |
Remove every item this proxy registered (newest first); re-raise the first failure. |
collect |
function | (self) -> Iterator[list[object]] |
Collect the tokens registered meanwhile (a plugin's load, R027). |
forget |
function | (self, token: object) -> None |
A plugin unload removed <code>token</code> itself; do not remove it again. |
owned_by |
function | (self, runner: Callable) -> Iterator[None] |
Items registered meanwhile run their callbacks through <code>runner</code><code> (</code><code>runner(call)</code> returns the callable to invoke): the plugin's guard. |