fontlab_echopy.extensions
extensions
Native-compatible helpers, also usable when a native class is immutable.
No native method is replaced. Explicit installation adds convenience methods to mutable classes and reports immutable classes instead of changing class identity.
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 |
|---|---|---|---|
get_extension |
function | (key: str, specs: Mapping[str, Callable[..., Any]] | None=None) -> Callable[..., Any] |
Return a merged patch function for direct use on immutable native classes. |
has_layer |
function | (glyph: Any, name: str) -> bool |
Fallback convenience operation for hosts without has_layer. |
install_extensions |
function | (specs: Mapping[str, Callable[..., Any]] | None=None) -> dict[str, str] |
Add non-colliding helpers; return explicit installed/existing/immutable status. |
layer_names |
function | (glyph: Any) -> list[str] |
List layer names on a native flGlyph, preserving its native objects. |
object_name |
function | (widget: Any) -> str |
Read PythonQt's objectName property or a callable Qt binding accessor. |