prompt_dialog_warning

async lsst.ts.m2gui.prompt_dialog_warning(title, description, is_prompted=True)

Shows a warning dialog.

The user must react to this dialog. The rest of the GUI is blocked until the dialog is dismissed.

Parameters:
titlestr

Title of the dialog.

descriptionstr

Description message to be shown in the dialog.

is_promptedbool, optional

When False, dialog will not be executed. That is used for tests, which shall not be the case when used in the real GUI. (the default is True)