Skip to content

fontlab_glyport.plugins.fontlab_host.FontLabPluginHost

FontLabPluginHost

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • action — defined by fontlabapp.qt.menus.OwnedMenus.action
  • add_action — defined by fontlabapp.qt.menus.OwnedMenus.add_action
  • add_menu — defined by fontlabapp.qt.menus.OwnedMenus.add_menu
  • close — defined by fontlabapp.qt.menus.OwnedMenus.close
  • dispatching — defined by fontlabapp.qt.menus.OwnedMenus.dispatching
  • has_items — defined by fontlabapp.qt.menus.OwnedMenus.has_items
  • menu — defined by fontlabapp.qt.menus.OwnedMenus.menu
  • own_menu — defined by fontlabapp.qt.menus.OwnedMenus.own_menu
  • tool_window — defined by fontlabapp.qt.menus.OwnedMenus.tool_window

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
__init__ function (self, qt: Any, fontlab: Any, *, error_sink: Callable[[Exception, object], object], painters: Any=None, model…
current_font function (self)
has_callbacks attribute (self) -> bool
main_window function (self) -> Any FontLab's main window; a missing one raises <code>HostUnavailable</code>.
notify function (self, title: str, message: str) -> None
redraw function (self) -> None
register_file_format function (self, file_format: Any, *, guard: Callable | None=None) -> int File > "Export with <title>…"; <code>guard(owner, function, &#42;args)</code><code> (</code><code>PluginEnv.guard</code>) runs the plugin's export in its context.
register_menu function (self, menu: str, item: Any, index: int | None=None) -> int Add <code>item</code><code> as an owned QAction in </code><code>menu</code>; return its token.
register_painter function (self, phase, callback, *, document_id=None, layer_filter='active')
register_panel function (self, view: Any, title: str, min_height: int, max_height: int) -> int
register_tool function (self, tool: Any, *, guard: Callable | None=None, activate: Callable[[], Any] | None=None, deactivate: Callab… Add <code>tool</code><code> to FontLab&#x27;s tools; </code><code>activate</code><code>/</code><code>deactivate</code><code> run when FontLab switches to and away from it (see </code><code>ToolBridge</code>).
remove function (self, token: object) -> None Undo one item, including its NSMenuItem observer (see App <code>remove</code>).
reporter_background_phase attribute (self) -> str Known at load, before any painter is enabled: native canvas painters draw backgrounds before the outlines; the overlay fallback after (R054).
restore_layer function (self, layer, snapshot) -> None
run_dialog function (self, view: Any, title: str, apply_label: str, on_close: Callable[[bool], None]) -> int Show <code>view</code><code> with Cancel/Apply; </code><code>on&#95;close(applied)</code> runs once.
selected_layers function (self)
snapshot_layer function (self, layer)
undo_group function (self, name: str) -> AbstractContextManager