Difference between revisions of "Dabo.ui.exclaim"

From Dabo Wiki
Jump to: navigation, search
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.exclaim(message="Important", title=None, parent=None) </syntaxhighlight> == Description: == Display a brief importan...")
 
(No difference)

Latest revision as of 18:00, 13 May 2020

Signature:

dabo.ui.exclaim(message="Important", title=None, parent=None)

Description:

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

Returns:

None

Comments:

Like dabo.ui.info(), this displays a modal message to the user, and the user must click the OK button to dismiss the message and proceed. The difference is that the icon displayed is the platform-specific icon for an exclamation mark, indicating a problem that is important, but not fatal.

Examples:

dabo.ui.exclaim("Printer not responding!")
dabo.ui.exclaim("No records match your search expression", title="Empty Results")