fontlab_plugmix.registry.Registry
Registry
Own active painter tokens and the one JSON preference file.
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, config_dir: str | Path | None=None, error_sink: ErrorSink | None=None) -> None |
|
attach |
function | (self, painters: Any, qt: Any, sink: Any) -> None |
Bind restored reporters to one App painter owner. |
available |
function | (self, kind: str | None=None) -> dict[str, type[Plugin]] |
Return all known classes or only one kind, keyed by stable name. |
detach |
function | (self) -> None |
Remove active painters while retaining saved enabled names. |
disable |
function | (self, name: str) -> bool |
Disable a known reporter and remove its painter token. |
enable |
function | (self, name: str) -> bool |
Enable a reporter, rolling its overlay back if persistence fails. |
enabled |
function | (self) -> tuple[str, ...] |
Return names requested as enabled, including pending restoration. |
enabled_filters |
function | (self) -> tuple[str, ...] |
Default new filters on; an explicit saved list controls their menu. |
enabled_general |
function | (self) -> tuple[str, ...] |
Default new General commands on until the user chooses otherwise. |
enabled_palettes |
function | (self) -> tuple[str, ...] |
Return shown palettes; old preference files default to hidden. |
enabled_tools |
function | (self) -> tuple[str, ...] |
Default new native tools on until the user chooses otherwise. |
set_filter_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a filter contributes its Glyph-menu command. |
set_general_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a General plugin is started. |
set_palette_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist an explicit panel visibility choice, rolling back on failure. |
set_params |
function | (self, name: str, values: dict[str, Any]) -> None |
Validate and persist last-used filter values, rolling back on I/O failure. |
set_tool_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a native tool is registered. |
toggle |
function | (self, name: str) -> bool |
Switch a reporter and return the new checked state. |
values |
function | (self, name: str) -> dict[str, Any] |
Return validated saved filter values, falling back to defaults. |