nuke.askWithCancel

nuke.askWithCancel(prompt) bool

Show a Yes/No/Cancel dialog.

Parameters:

prompt – Present the user with this question.

Returns:

True if Yes, False if No, an exception is thrown if Cancel.