Message Dialogs
Zenity Manual
Zenity can create four types of message dialog:
Error
Information
Question
Warning
For each type, use the --text option to specify the text that is displayed in the dialog.
Use the --error option to create an error dialog.
The following example script shows how to create an error dialog:
Figure 5 Error Dialog Example
Use the --info option to create an information dialog.
The following example script shows how to create an information dialog:
Figure 6 Information Dialog Example
Use the --question option to create a question dialog.
The following example script shows how to create a question dialog:
Figure 7 Question Dialog Example
Use the --warning option to create a warning dialog.
The following example script shows how to create a warning dialog:
Figure 8 Warning Dialog Example
Last updated