1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="text" xml:lang="eu">
4
<link type="guide" xref="index#dialogs"/>
5
<desc>Use the <cmd>--text-info</cmd> option.</desc>
7
<title>Testu-informazioaren elkarrizketa-koadroa</title>
9
Use the <cmd>--text-info</cmd> option to create a text information dialog.
12
<p>Testu-informazioaren elkarrizketa-koadroak aukera hauek onartzen ditu:</p>
17
<title><cmd>--filename</cmd>=<var>filename</var></title>
18
<p>Testu-informazioaren elkarrizketa-koadroan kargaturiko fitxategia zehazten du.</p>
22
<title><cmd>--editable</cmd></title>
23
<p>Allows the displayed text to be edited. The edited text is returned to standard output when the dialog is closed.</p>
27
<title><cmd>--font</cmd>=<var>FONT</var></title>
28
<p>Specifies the text font.</p>
32
<title><cmd>--checkbox</cmd>=<var>TEXT</var></title>
33
<p>Enable a checkbox for use like a 'I read and accept the terms.'</p>
37
<title><cmd>--html</cmd></title>
38
<p>Enable html support.</p>
42
<title><cmd>--url</cmd>=<var>URL</var></title>
43
<p>Sets an url instead of a file. Only works if you use --html option.</p>
49
The following example script shows how to create a text information dialog:
55
# You must place file "COPYING" in same folder of this script.
56
FILE=`dirname $0`/COPYING
61
--checkbox="I read and accept the terms."
65
echo "Start installation!"
69
echo "Stop installation!"
72
echo "An unexpected error has occurred."
77
<figure id="zenity-text-screenshot">
78
<title>Testu-informazioaren elkarrizketa-koadroaren adibidea</title>
79
<desc><app>Zenity</app> text information dialog example</desc>
80
<media type="image" mime="image/png" src="figures/zenity-text-screenshot.png"/>