fontlabapp.qt.widgets · declarations 001
create_widget
create_widget(parent: Any, build: Callable | None, *, floating: bool = False, show: bool = True) -> OwnedWidget
release_owned
release_owned(scope: Any, owned: Any, problems: list, closers: Sequence[Any] = ()) -> bool
Finish scope, close closers then owned; True only when all released.
Stops at the first refusal so the window stays usable: a falsy
scope.finish(), a falsy owned.close() or a RuntimeError from
any close, which is appended to problems. Other errors propagate.
Closer results are ignored; None closers and a None owned are
skipped. The caller keeps its handle and reports when this returns False.