fontlab_glyport.ui.nib_loader · declarations 001
Back to fontlab_glyport.ui.nib_loader
find_nib
find_nib(name: str, resources: str | Path) -> Path | None
name.nib (deployed, preferred) or name.xib under resources.
Searches resources and its Base.lproj/en.lproj/English.lproj.
instantiate
instantiate(graph: UIGraph, owner: Any, appkit: Mapping[str, Any], *, classes: Mapping[str, type] | None = None, resources: Iterable[str | Path] = ()) -> NibInstance
Build graph's objects with owner as File's Owner; named images
are looked up in the resources folders (the plugin bundle's).
load_graph
load_graph(path: str | Path) -> UIGraph
A .nib (file or bundle) or .xib path as a UIGraph.