confirm method

confirm

Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.

Returns

Returns true if the user clicks OK and false if the user clicks Cancel

def confirm(self, message):
    ...
ParameterTypeDescription
messagestrThe message.

See Also