.. _global.confirm: ================================================ global.confirm ================================================ bool **confirm** (:ref:`string` **message**, bool **noAsDefault**, :ref:`string` **title**) Parameters ---------- +-----------------+--------------------------------------------------------+ | **message** | The text to display | +-----------------+--------------------------------------------------------+ | **noAsDefault** | Set to true to set the No button as the default button | +-----------------+--------------------------------------------------------+ | **title** | The title of the alert; ignored on the Macintosh | +-----------------+--------------------------------------------------------+ Description ----------- Displays an alert box with Yes and No buttons; returns true for Yes