fontlab_glyport.glyphsapp.fontlab_bridge.FontLabGlyphsBridge
FontLabGlyphsBridge
Host services for make_glyphsapp_module; use on the GUI thread.
log receives bridge diagnostics (contained callback failures, notices
without a main window). answers maps dialog names (message,
ask_string, get_folder, get_open_file, get_save_file) to
injected results; interactive=True allows modal Qt dialogs.
version accepts a complete ProfileVersion or the older
(number, build) pair. Custom pairs need version_string when scripts
request versionString: a float cannot establish its patch version.
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 |
|---|---|---|---|
__init__ |
function | (self, *, log: Log, version: ProfileVersion | tuple[float, float], version_string: str | None=None, language:… |
|
ask_string |
function | (self, message, value, title, ok_button, placeholder) |
|
build_number |
function | (self) -> float |
|
clear_log |
function | (self) -> None |
No-op by default: FontLab's Output panel is user content. |
close |
function | (self) -> None |
Drop subscribers, stop the timer, close owned dialogs; repeatable. |
get_folder |
function | (self, message, allows_multiple, path) |
|
get_open_file |
function | (self, message, title, allows_multiple, filetypes, path) |
|
get_save_file |
function | (self, message, proposed_file_name, filetypes) |
|
has_callbacks |
attribute | (self) -> bool |
|
message |
function | (self, message, title, ok_button) |
|
poll |
function | (self) -> int |
Timer slot: on a fingerprint change call every subscriber once. |
redraw |
function | (self) -> None |
|
remove |
function | (self, token: object) -> None |
|
show_macro_window |
function | (self) -> None |
No-op by default: the context sink is the macro window. |
show_notification |
function | (self, title: str, message: str) -> None |
|
subscribe |
function | (self, event: str, callback: Callable[..., None]) -> int |
|
ui_language |
function | (self) -> str |
|
version_number |
function | (self) -> float |
|
version_string |
function | (self) -> str |