blob: 53e96f61dad2ca2026b3371f539756400041b5b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY version "1.0">
<!ENTITY app "<application>zenity</application>">
]>
<!-- ================ Document Header ================= -->
<article id="index" lang="en">
<articleinfo>
<title>Zenity Manual</title>
<copyright>
<year>2003</year>
<holder>Sun Microsystems</holder>
</copyright>
<!-- Translators: uncomment this
<copyright>
<year>2003</year>
<holder>ME_THE_TRANSLATOR</holder>
</copyright>
-->
<publisher>
<publishername>GNOME Documentation Project</publishername>
</publisher>
<releaseinfo>Version 1.0 of Zenity Manual</releaseinfo>
<legalnotice id="feedback">
<title>Feedback Information</title>
<para>
To report a bug or make a suggestion regarding this
application or this documentation, please see the
<ulink type="help" url="ghelp:gnome-feedback">
GNOME Feedback Page
</ulink>
</para>
</legalnotice>
<authorgroup>
<author>
<firstname>Glynn</firstname>
<surname>Foster</surname>
<affiliation>
<orgname>GNOME Documentation Project</orgname>
</affiliation>
</author>
</authorgroup>
<revhistory>
<revision>
<revnumber>1.0</revnumber>
<date>&date;</date>
<revdescription>
<para role="author">Glynn Foster</para>
<para role="publisher">
GNOME Documentation Project
</para>
</revdescription>
</revision>
</revhistory>
</articleinfo>
<!-- ================ Document Body ================= -->
<!-- ==== Introduction ====== -->
<sect1 id="zenity-introduction">
<title>Introduction</title>
<para>
&app; allows allows you to display simple dialogs from the
command line or from shell scripts.
</para>
<para>
The following list of dialogs are available with &app;:
</para>
<variablelist>
<varlistentry>
<term><varname>--calendar</varname></term>
<listitem>
<para>Display a Calendar dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--entry</varname></term>
<listitem>
<para>Display a Text Entry dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--error</varname></term>
<listitem>
<para>Display an Error dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--info</varname></term>
<listitem>
<para>Display an Informational dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--file-selection</varname></term>
<listitem>
<para>Display a File Slection dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--list</varname></term>
<listitem>
<para>Display a List dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--progress</varname></term>
<listitem>
<para>Display a Progress dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--question</varname></term>
<listitem>
<para>Display a Question dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--text-info</varname></term>
<listitem>
<para>Display a Text Information dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--warning</varname></term>
<listitem>
<para>Display a Warning dialog</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
<!-- ==== General Options ====== -->
<sect1 id="zenity-general-options">
<title>General Options</title>
<para>
Each dialog shares some general command line options. If these
are not provided, there are some default values that depend on
the type of dialog being displayed.
</para>
<para>
The following list of general options are available:
</para>
<variablelist>
<varlistentry>
<term><varname>--title</varname>=TITLE</term>
<listitem>
<para>Specify the title of a dialog</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>--window-icon</varname>=ICON_PATH</term>
<listitem>
<para>Specify the icon that should appear in the window frame of the dialog</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
<!-- ==== Calendar Options ======
Calendar options
--text=STRING Set the dialog text
--day=INT Set the calendar day
--month=INT Set the calendar month
--year=INT Set the calendar year
--date-format=STRING Set the format for the returned date
Text entry options
--text=STRING Set the dialog text
--entry-text=STRING Set the entry text
--hide-text Hide the entry text
Info options
--text=STRING Set the dialog text
Error options
--text=STRING Set the dialog text
File selection options
--filename=FILENAME Set the filename
List options
--column=STRING Set the column header
--checklist Use check boxes for first column
--radiolist Use radio buttons for first column
--separator=STRING Set output separator character
Progress options
--text=STRING Set the dialog text
--percentage=INT Set initial percentage
--pulsate Pulsate progress bar
Question options
--text=STRING Set the dialog text
Text options
--filename=FILENAME Open file
Warning options
--text=STRING Set the dialog text
Miscellaneous options
--about About zenity
--version Print version
Help options
-?, --help Show this help message
--usage Display brief usage message
-->
<!-- ================ Application License ================= -->
<sect1 id="license">
<title>License</title>
<para>
This program is free software; you can redistribute
it and/or modify it under the terms of the
<ulink type="help" url="gnome-help:gpl">
<citetitle>GNU General Public License</citetitle>
</ulink>
as published by the Free Software Foundation; either
version 2 of the License, of (at your option) any later
version.
</para>
<para>
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the
<citetitle>GNU General Public License</citetitle>
for more details.
</para>
<para>
A copy of the
<citetitle>GNU General Public License</citetitle>
is included as an appendix to the
<citetitle>GNOME Users Guide</citetitle>
. You may also obtain a copy of the
<citetitle>GNU General Public License</citetitle>
from the Free Software Foundation by visiting
<ulink type="http" url="http://www.fsf.org">
their Web site
</ulink>
or by writing to
<address>Free Software Foundation, Inc.
<street>59 Temple Place</street> - Suite 330
<city>Boston</city>,
<state>MA</state>
<postcode>02111-1307</postcode>
<country>USA</country>
</address>
</para>
</sect1>
</article>
|