fontlabapp.plugins.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, extensions_dir: str | Path | No… |
|
attach |
function | (self, painters: Any, qt: Any, sink: Any) -> None |
Bind restored reporters to one App painter owner. (shared captured text) |
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. (shared captured text) |
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. (shared captured text) |
enabled_filters |
function | (self) -> tuple[str, ...] |
Default new filters on; an explicit saved list controls their menu. (shared captured text) |
enabled_general |
function | (self) -> tuple[str, ...] |
Default new General commands on until the user chooses otherwise. (shared captured text) |
enabled_palettes |
function | (self) -> tuple[str, ...] |
Return shown palettes; they stay hidden until the user shows one. |
enabled_tools |
function | (self) -> tuple[str, ...] |
Default new native tools on until the user chooses otherwise. (shared captured text) |
rescan |
function | (self) -> dict[str, type[Plugin]] |
Add newly available bundles without replacing active registrations. |
set_filter_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a filter contributes its Glyph-menu command. (shared captured text) |
set_general_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a General plugin is started. (shared captured text) |
set_palette_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist an explicit panel visibility choice, rolling back on failure. (shared captured text) |
set_params |
function | (self, name: str, values: dict[str, Any]) -> None |
Validate and persist last-used filter values, rolling back on I/O failure. (shared captured text) |
set_tool_enabled |
function | (self, name: str, enabled: bool) -> None |
Persist whether a native tool is registered. (shared captured text) |
toggle |
function | (self, name: str) -> bool |
Switch a reporter and return the new checked state. (shared captured text) |
values |
function | (self, name: str) -> dict[str, Any] |
Return validated saved filter values, falling back to defaults. (shared captured text) |