Difference between revisions of "Dabo.ui.info"

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

Latest revision as of 17:50, 13 May 2020

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")