fontlab_glyport.ui.vanilla.Window · declarations 001
Back to fontlab_glyport.ui.vanilla.Window
__init__
__init__(posSize, title='', minSize=None, maxSize=None, closable=True, autosaveName=None, **options)
bind
bind(event: str, callback: Callable) -> None
center
center() -> None
Center on the available geometry of the screen showing the window.
close
close() -> None
Disconnect every tracked connection, then close and deleteLater once.
getNSView
getNSView() -> Any
Return the top-level Qt widget (compatibility handle).
getNSWindow
getNSWindow() -> Any
Return the top-level Qt widget; the compatibility handle for NSWindow.
getPosSize
getPosSize() -> tuple
getTitle
getTitle() -> str
isVisible
isVisible() -> bool
makeKey
makeKey() -> None
open
open() -> None
resize
resize(width, height, animate=True)
Resize while retaining the window origin; Qt applies the final frame.
setDefaultButton
setDefaultButton(button) -> None
Make a push Button the one Return/Enter activates; clear the old one.
The button must be attached (through live ancestors) to this open window; otherwise ValueError, and no widget is touched.
setPosSize
setPosSize(posSize: Sequence) -> None
setTitle
setTitle(title) -> None