module documentation

Undocumented

Function asyncModal Run an NSAlert asynchronously.
Type Variable T Undocumented
Function _alertReturns Enumerate the values used by NSAlert for return values in the order of the buttons that occur.
Async Function _ask Prompt the user for a short string of text.
def asyncModal(alert: NSAlert) -> Deferred[NSModalResponse]: (source)

Run an NSAlert asynchronously.

Undocumented

Value
TypeVar('T')
def _alertReturns() -> Iterator[NSModalResponse]: (source)

Enumerate the values used by NSAlert for return values in the order of the buttons that occur.

async def _ask(question: str, description: str, txt: NSTextField) -> str | None: (source)

Prompt the user for a short string of text.