1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="notification" xml:lang="oc">
4
<link type="guide" xref="index#dialogs"/>
5
<desc>Use the <cmd>--notification</cmd> option.</desc>
7
<title>Icòna de notificacion</title>
9
Use the <cmd>--notification</cmd> option to create a notification icon.
15
<title><cmd>--text</cmd>=<var>text</var></title>
16
<p>Specifies the text that is displayed in the notification area.</p>
22
The following example script shows how to create a notification icon:
27
zenity --notification\
28
--window-icon="info" \
29
--text="There are system updates necessary!"
33
<figure id="zenity-notification-screenshot">
34
<title>Exemple d'icòna de notificacion</title>
35
<desc><app>Zenity</app> notification icon example</desc>
36
<media type="image" mime="image/png" src="figures/zenity-notification-screenshot.png"/>