fontlab_glyport.ui.objc_bridge
objc_bridge
The objc names Glyphs UI code uses, for an import adapter (R030).
Corpus counts (literal grep of the Glyphs corpus .py files):
python_method 2077, IBOutlet 342, IBAction 199, super 79,
lookUpClass 49, selector 18, error/nosuchclass_error 14,
nil 7. make_objc_module(classes) returns a module with exactly these;
any other name raises UnsupportedCapability at the script line.
lookUpClass resolves only the classes passed in (the Qt-backed Cocoa
classes); any other name raises nosuchclass_error, which is both PyObjC's
catchable error and an UnsupportedCapability naming the class.
Classes
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 |
|---|---|---|---|
IBAction |
function | (function: Callable) -> Callable |
Mark an action method; the NIB loader connects only marked or named actions. |
NULL |
attribute | ||
make_objc_module |
function | (classes: Mapping[str, type]) -> ModuleType |
Return an <code>objc</code><code> module whose </code><code>lookUpClass</code><code> knows </code><code>classes</code>. |
python_method |
function | (function: Callable) -> Callable |
Identity marker: a Python-only method, never a selector. |
signature |
function | (types) |
PyObjC's signature decorator expressed through the existing selector. |