Skip to content

fontlab_glyport.glyphsapp.fontlab_bridge.FontLabGlyphsBridge · declarations 001

Back to fontlab_glyport.glyphsapp.fontlab_bridge.FontLabGlyphsBridge

__init__

__init__(*, log: Log, version: ProfileVersion | tuple[float, float], version_string: str | None = None, language: str = 'en', output_panel: bool = False, interactive: bool = False, answers: Mapping[str, object] | None = None, state: Callable[[], object] = interface_state, interval_ms: int = POLL_INTERVAL_MS, document: Callable[[object], object] | None = None, painters: Callable[[], Any] | None = None, paint_scope: Callable[[Any], Any] | None = None, diagnostic_sink: Callable | None = None) -> None

ask_string

ask_string(message, value, title, ok_button, placeholder)

build_number

build_number() -> float

clear_log

clear_log() -> None

No-op by default: FontLab's Output panel is user content.

close

close() -> None

Drop subscribers, stop the timer, close owned dialogs; repeatable.

Inside the timer slot the timer teardown is deferred to _fire.

get_folder

get_folder(message, allows_multiple, path)

get_open_file

get_open_file(message, title, allows_multiple, filetypes, path)

get_save_file

get_save_file(message, proposed_file_name, filetypes)

has_callbacks property

has_callbacks: bool

message

message(message, title, ok_button)

poll

poll() -> int

Timer slot: on a fingerprint change call every subscriber once.

Returns how many ran. Failures, even process exits, are logged here so the GUI thread stays alive.

redraw

redraw() -> None

remove

remove(token: object) -> None

show_macro_window

show_macro_window() -> None

No-op by default: the context sink is the macro window.

show_notification

show_notification(title: str, message: str) -> None

subscribe

subscribe(event: str, callback: Callable[..., None]) -> int

ui_language

ui_language() -> str

version_number

version_number() -> float

version_string

version_string() -> str