Skip to content

fontlab_echopy.extensions · declarations 001

Back to fontlab_echopy.extensions

get_extension

get_extension(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

has_layer(glyph: Any, name: str) -> bool

Fallback convenience operation for hosts without has_layer.

install_extensions

install_extensions(specs: Mapping[str, Callable[..., Any]] | None = None) -> dict[str, str]

Add non-colliding helpers; return explicit installed/existing/immutable status.

layer_names

layer_names(glyph: Any) -> list[str]

List layer names on a native flGlyph, preserving its native objects.

object_name

object_name(widget: Any) -> str

Read PythonQt's objectName property or a callable Qt binding accessor.