fontlab_glyport.glyphsapp.application.GSApplication · declarations 001
Back to fontlab_glyport.glyphsapp.application.GSApplication
__init__
__init__(model, bridge: GlyphsBridge, store: Store, wrap, sink, on_close=None, menu=None, filters=None) -> None
addCallback
addCallback(target: Callable, operation: str) -> None
Register through the bridge; a repeated (target, event) replaces.
buildNumber
property
buildNumber: float
Compatibility value reported by the bridge, not FontLab's build.
clearLog
clearLog() -> None
currentEvent
currentEvent()
The tool event being handled, else a synthetic one (FontLab exposes
no Cocoa event): live modifierFlags() during reporter paints.
currentFont
class-attribute
instance-attribute
currentFont
delegate
delegate()
filters
property
filters
font
property
font
fonts
property
fonts
glyphInfoForName
glyphInfoForName(name, font=None)
Select the explicit font's manager, otherwise the shared manager.
glyphInfoForUnicode
glyphInfoForUnicode(string_or_int, font=None)
Preserve integer spelling and the selected manager through dispatch.
handleSize
property
handleSize: int
Glyphs' 0–2 handle-size preference, scoped to glyport defaults.
localize
localize(localization)
Pick the bridge UI language, its primary subtag, "en", then the first.
Neither str nor dict: str(value), as the Glyphs SDK wrapper does.
redraw
redraw() -> None
registerDefault
registerDefault(key: str, value) -> None
registerDefaults
registerDefaults(values: Mapping) -> None
removeCallback
removeCallback(target: Callable, operation: str | None = None) -> None
Remove matching registrations; unknown targets are a no-op.
showMacroWindow
showMacroWindow() -> None
showNotification
showNotification(title: str, message: str) -> None
versionNumber
property
versionNumber: float
Compatibility value reported by the bridge, not FontLab's version.
versionString
property
versionString: str
The emulated Glyphs version, consistent with versionNumber.