1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="warning" xml:lang="ca">
4
<link type="guide" xref="message"/>
5
<desc>Use the <cmd>--warning</cmd> option.</desc>
7
<title>Diàleg d'avís</title>
9
Use the <cmd>--warning</cmd> option to create a warning dialog.
13
The following example script shows how to create a warning dialog:
20
--text="Disconnect the power cable to avoid electrical shock."
24
<figure id="zenity-warning-screenshot">
25
<title>Exemple de diàleg d'avís</title>
26
<desc><app>Zenity</app> warning dialog example</desc>
27
<media type="image" mime="image/png" src="figures/zenity-warning-screenshot.png"/>