diff options
author | Jeremy Bicha <jbicha@debian.org> | 2017-12-16 13:06:02 -0500 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2017-12-16 13:06:02 -0500 |
commit | f821adc6c1844f3dbd59a5c51bb68fb80f295aa0 (patch) | |
tree | 28ff6652502c6adc1b661e0eb4dd3a8adbf60404 /help/en_GB/warning.page | |
parent | Initial upstream branch (diff) | |
parent | Release: Prepare for 3.26.0 (diff) | |
download | zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.gz zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.tar.bz2 zenity-f821adc6c1844f3dbd59a5c51bb68fb80f295aa0.zip |
New upstream version 3.26.0
Diffstat (limited to 'help/en_GB/warning.page')
-rw-r--r-- | help/en_GB/warning.page | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/help/en_GB/warning.page b/help/en_GB/warning.page new file mode 100644 index 00000000..b7102711 --- /dev/null +++ b/help/en_GB/warning.page @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<page xmlns="http://projectmallard.org/1.0/" type="topic" id="warning" xml:lang="en-GB"> + <info> + <link type="guide" xref="message"/> + <desc>Use the <cmd>--warning</cmd> option.</desc> + </info> + <title>Warning Dialogue</title> + <p> + Use the <cmd>--warning</cmd> option to create a warning dialog. + </p> + + <p> + The following example script shows how to create a warning dialog: + </p> + +<code> +#!/bin/bash + +zenity --warning \ +--text="Disconnect the power cable to avoid electrical shock." +</code> + + <figure> + <title>Warning Dialogue Example</title> + <desc><app>Zenity</app> warning dialog example</desc> + <media type="image" mime="image/png" src="figures/zenity-warning-screenshot.png"/> + </figure> +</page> |