Skip to content

incendium.vision.gui.warning

César Román edited this page Apr 30, 2024 · 7 revisions

Description

Display a message to the user in a warning style popup dialog.

Syntax

incendium.vision.gui.warning(message, [title], [detail])

Args:

  • message (str): The message to display in an warning box. This will be translated to the selected Locale.
  • title (str): A title for the warning box. This will be translated to the selected Locale. Optional. Defaults to "Warning".
  • detail (str): Additional text to display. This will be translated to the selected Locale. Optional.

Recommendations

None.

Code Examples

from incendium.vision import gui

gui.warning("This one is a warning.")
Clone this wiki locally