Dabo.ui.stop

From Dabo Wiki
Revision as of 18:03, 13 May 2020 by Ed (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Signature:

dabo.ui.stop(message="Stop", title=None, parent=None)

Description:

Display a brief critical message to the user, along with the platform-specific "Stop" icon.

Returns:

None

Comments:

Similar to dabo.ui.exclaim(), in that it presents the user with critical information. This is used for the most serious problems that will prevent the user from proceeding. The icon displayed is the platform-specific icon for a stop sign, indicating a problem that will prevent them from proceeding.

Examples:

dabo.ui.stop("The connection to the database was lost!")
dabo.ui.stop("A programming error has been encountered. Please call tech support with error code #33.", title="Program Error")