fontlabapp.proof.tabs.text · declarations 001
Back to fontlabapp.proof.tabs.text
open_text_tab
open_text_tab(text: str, *, expected_id: int) -> None
Open exactly one new native text tab bound to the captured current font.
Build text before calling. Refuse a switched/closed font or slow preflight before connecting an owned hidden QLineEdit to the native private slot. Disconnect before deleting that sender on every path. No event pumping, current-font switch, Output/history/preference writer or user-tab reuse. Native failure can leave a new tab: no atomic UI rollback is claimed.