Dabo.ui.info

From Dabo Wiki
Revision as of 17:50, 13 May 2020 by Ed (talk | contribs) (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.info(message="Information", title=None, parent=None) </syntaxhighlight> == Description: == Display a brief message t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Signature:

dabo.ui.info(message="Information", title=None, parent=None)

Description:

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

Returns:

None

Comments:

This satisfies a very common UI requirement: to display a brief modal informational message to the user. The user must click the OK button to dismiss the message and proceed. The icon displayed with the message is the "information" icon used for the current platform, usually a blue circle with the letter "i".

Examples:

dabo.ui.info("Data Conversion Completed")
dabo.ui.info("Confirmation email has been sent", title="Successful Email")