2003-01-15 10:28:19 +00:00
|
|
|
<?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">
|
2003-09-01 08:27:59 +00:00
|
|
|
<!ENTITY app "<application>Zenity</application>">
|
2003-01-15 10:28:19 +00:00
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- ================ 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>
|
2003-09-01 08:27:59 +00:00
|
|
|
<editor>
|
|
|
|
<firstname>Nicholas</firstname>
|
|
|
|
<surname>Curran</surname>
|
|
|
|
<affiliation>
|
|
|
|
<orgname>GNOME Documentation Project</orgname>
|
|
|
|
</affiliation>
|
|
|
|
</editor>
|
2003-01-15 10:28:19 +00:00
|
|
|
</authorgroup>
|
|
|
|
|
|
|
|
<revhistory>
|
|
|
|
<revision>
|
|
|
|
<revnumber>1.0</revnumber>
|
2003-01-18 19:19:20 +00:00
|
|
|
<date>18-01-2003</date>
|
2003-01-15 10:28:19 +00:00
|
|
|
<revdescription>
|
|
|
|
<para role="author">Glynn Foster</para>
|
|
|
|
<para role="publisher">
|
|
|
|
GNOME Documentation Project
|
|
|
|
</para>
|
|
|
|
</revdescription>
|
|
|
|
</revision>
|
|
|
|
</revhistory>
|
|
|
|
</articleinfo>
|
|
|
|
|
|
|
|
<!-- ================ Document Body ================= -->
|
|
|
|
|
2003-01-18 14:28:54 +00:00
|
|
|
<!-- ==== Introduction ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-introduction">
|
|
|
|
<title>Introduction</title>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; displays simple GNOME dialogs.
|
2003-01-18 14:28:54 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; can display the following dialogs:
|
2003-01-18 14:28:54 +00:00
|
|
|
</para>
|
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-calendar-options">Calender dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-text-entry-options">Text entry dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>Various message dialogs including:</para>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-error-dialog">Error dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-info-dialog">Information dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-question-dialog">Question dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-warning-dialog">Warning dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-file-selection-options">File selection dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-list-options">List options dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-progress-options">Progress dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
<link linkend="zenity-text-options">Text dialog.</link>
|
|
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== General Options ====== -->
|
|
|
|
<sect1 id="zenity-basic-use">
|
|
|
|
<title>Basic Use</title>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; creates simple dialogs. You can use &app; to create a script that
|
|
|
|
interacts graphically with the user.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
2003-09-01 08:27:59 +00:00
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
When the user closes the dialog,
|
|
|
|
&app; prints text produced by the dialog to standard error.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Ensure that all arguments to &app; are surrounded by quotes. For example, use
|
|
|
|
<command>zenity --calender --title="Holiday Planner"</command> instead of
|
|
|
|
<command>zenity --calender --title=Holiday Planner</command>.
|
|
|
|
If you do not use quotes, you can get unexpected results.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<note>
|
|
|
|
<title>NOTE</title>
|
|
|
|
<para>
|
|
|
|
Some dialogs support the use of keyboard mnemonics. To specify the character to use as
|
|
|
|
the mnemonic, place an underscore before that character in the text of the dialog. For
|
|
|
|
example, to specify the 'P' as the keyboard mnemonic in the following sentence, use
|
|
|
|
"_Please choose a name".
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; returns the following exit codes:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
2003-01-18 19:19:20 +00:00
|
|
|
<term><varname>0</varname></term>
|
2003-01-18 18:02:14 +00:00
|
|
|
<listitem>
|
|
|
|
<para>The user has pressed either 'OK' or 'Close'.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2003-01-18 19:19:20 +00:00
|
|
|
<term><varname>1</varname></term>
|
2003-01-18 18:02:14 +00:00
|
|
|
<listitem>
|
|
|
|
<para>The user has pressed either 'Cancel' or closed the dialog through the window functions.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2003-01-18 19:19:20 +00:00
|
|
|
<term><varname>-1</varname></term>
|
2003-01-18 18:02:14 +00:00
|
|
|
<listitem>
|
|
|
|
<para>An unexpected error has occurred.</para>
|
2003-01-18 14:28:54 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
2003-01-18 14:28:54 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== General Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-general-options">
|
|
|
|
<title>General Options</title>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
All dialogs have the following general options:
|
2003-01-18 14:28:54 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--title</varname>=TITLE</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the title of a dialog.</para>
|
2003-01-18 14:28:54 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--window-icon</varname>=ICON_PATH</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the icon that should appear in the window frame of the dialog.</para>
|
2003-01-18 14:28:54 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-05-05 22:38:54 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--width</varname>=WIDTH</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the width of the dialog.</para>
|
2003-05-05 22:38:54 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--height</varname>=HEIGHT</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the height of the dialog.</para>
|
2003-05-05 22:38:54 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-18 14:28:54 +00:00
|
|
|
</variablelist>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
2003-01-18 14:28:54 +00:00
|
|
|
</sect1>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<!-- ==== Calendar Options ====== -->
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<sect1 id="zenity-calendar-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>Calendar Dialog</title>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--calender</command> to create a Calender dialog. &app; returns the
|
|
|
|
date selected to standad error. The current date will be used by the dialog if
|
|
|
|
no date is given on the command line.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The Calender dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<variablelist>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--text</varname>=TEXT</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the text to appear in the Calendar dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--day</varname>=DAY</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the day to be pre-selected in the Calendar dialog. The day
|
|
|
|
ust be a number between 1 and 31.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--month</varname>=MONTH</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the day to be pre-selected in the Calendar dialog. The day must be
|
2003-01-18 18:02:14 +00:00
|
|
|
a number between 1 and 12.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--year</varname>=YEAR</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the year to be pre-selected in the Calendar dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
2003-01-19 16:02:35 +00:00
|
|
|
<term><varname>--date-format</varname>=FORMAT</term>
|
2003-01-18 18:02:14 +00:00
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the format to be returned from the Calendar dialog after
|
|
|
|
the selection has been made. The default format depends
|
2003-01-18 18:02:14 +00:00
|
|
|
on your locale. The format must be of <command>strftime</command>
|
2003-09-01 08:27:59 +00:00
|
|
|
style, for example "%A %d/%m%y".
|
|
|
|
</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</variablelist>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The following script is an example of how to use the Calendar dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
#!/bin/sh
|
|
|
|
|
2003-05-24 01:36:24 +00:00
|
|
|
if zenity --calendar --title="Calendar selection" --text="Select a date from below" --day=18 --month=1 --year=2003
|
2003-01-22 01:50:28 +00:00
|
|
|
then echo $?
|
|
|
|
else echo "No date selected"
|
|
|
|
fi
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<figure id="zenity-calendar-screenshot">
|
|
|
|
<title>Calendar dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-calendar-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Calendar dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</sect1>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<!-- ==== Text Entry Options ====== -->
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<sect1 id="zenity-text-entry-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>Text Entry Dialog</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--text-entry</command> to create a Text Entry dialog.
|
|
|
|
&app; returns the
|
2003-01-22 01:50:28 +00:00
|
|
|
contents of the text entry to standard error.
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The Text Entry dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--text</varname>=TEXT</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the text to appear in the Text Entry dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--entry-text</varname>=TEXT</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the text to appear in the entry field of the Text Entry dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--hide-text</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies that the text in the entry field of the Text Entry dialog be hidden.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The following script is an example of how to use the Text Entry dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
#!/bin/sh
|
|
|
|
|
2003-05-24 01:36:24 +00:00
|
|
|
if zenity --entry --title="Add a new entry" --text="Enter your _Password" --hide-text
|
2003-01-22 01:50:28 +00:00
|
|
|
then echo $?
|
|
|
|
else echo "No password entered"
|
|
|
|
fi
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
2003-01-18 19:04:26 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<figure id="zenity-entry-screenshot">
|
|
|
|
<title>Text Entry dialog example</title>
|
2003-01-18 19:04:26 +00:00
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
2003-09-01 08:27:59 +00:00
|
|
|
<imagedata fileref="figures/zenity-entry-screenshot.png" format="PNG"/>
|
2003-01-18 19:04:26 +00:00
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
2003-09-01 08:27:59 +00:00
|
|
|
<phrase>&app; Text Entry dialog example</phrase>
|
2003-01-18 19:04:26 +00:00
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
2003-09-01 08:27:59 +00:00
|
|
|
</sect1>
|
2003-01-18 19:04:26 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<!-- ==== Message Options ====== -->
|
2003-01-18 19:04:26 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<sect1 id="zenity-message-options">
|
|
|
|
<title>Message Dialogs</title>
|
2003-01-18 19:04:26 +00:00
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; can create four types of message dialog.
|
|
|
|
Use the <command>--text</command> option to set the text shown in the
|
|
|
|
dialog.
|
|
|
|
</para>
|
|
|
|
<sect2 id="zenity-warning-dialog">
|
|
|
|
<title>Warning Dialog</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Use <command>--warning</command> to create a Warning dialog.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The following script is an example of how to use the Warning message dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
FILE_TYPE=$(file -b $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS|awk '{ print $1}')
|
|
|
|
|
|
|
|
if [ "$FILE_TYPE" != "PNG" ]; then
|
|
|
|
zenity --warning --text="Could not rotate image :" --hide-text
|
|
|
|
fi
|
|
|
|
</programlisting>
|
2003-09-01 08:27:59 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<figure id="zenity-warning-screenshot">
|
|
|
|
<title>Warning dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-warning-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Warning dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zenity-error-dialog">
|
|
|
|
<title>Error Dialog</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Use <command>--error</command> to create an Error dialog.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<figure id="zenity-error-screenshot">
|
|
|
|
<title>Error dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-error-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Error dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zenity-info-dialog">
|
|
|
|
<title>Information Dialog</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Use <command>--info</command> to create an Information dialog.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<figure id="zenity-information-screenshot">
|
|
|
|
<title>Informational dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-information-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Informational dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zenity-question-dialog">
|
|
|
|
<title>Question Dialog</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Use <command>--question</command> to create a Question dialog.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<figure id="zenity-question-screenshot">
|
|
|
|
<title>Question dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-question-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Question dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
</sect2>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== File Selection Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-file-selection-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>File Selection Dialog</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--file-selection</command> to create a file selection
|
|
|
|
dialog. &app; returns
|
|
|
|
the files or directories selected to standard error.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The File Selection dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--filename</varname>=FILENAME</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the file or directory to be selected in the File Selection dialog
|
|
|
|
when the dialog is first shown.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-06-09 18:57:01 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--multiple</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Allows selection of multiple filenames in the File Selection dialog.</para>
|
2003-06-09 18:57:01 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--separator</varname>=SEPARATOR</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the string used to divide the returned list of filenames.</para>
|
2003-06-09 18:57:01 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</variablelist>
|
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The following script is an example of how to use the File Selection dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
#!/bin/sh
|
|
|
|
|
2003-05-24 01:36:24 +00:00
|
|
|
FILE=`zenity --file-selection --title="Select a file"'
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
case $? in
|
|
|
|
0)
|
|
|
|
echo "\"$FILE\" selected.";;
|
|
|
|
1)
|
|
|
|
echo "No file selected.";;
|
|
|
|
-1)
|
|
|
|
echo "No file selected.";;
|
|
|
|
esac
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<figure id="zenity-fileselection-screenshot">
|
|
|
|
<title>File Selection dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-fileselection-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; File Selection dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== List Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-list-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>List Dialog</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--list</command> to create a list dialog. &app; returns the entries in
|
|
|
|
the first column of text of selected rows to standard error.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Every column must be specified by the <command>--column</command> option. Data for
|
|
|
|
the dialog must specified column by column, row by row. Data can be provided to
|
|
|
|
the dialog through standard input. Each entry must be separated by a newline.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
If you use the <command>--checklist</command> or <command>--radiolist</command>
|
|
|
|
options, each row must start with either 'TRUE' or 'FALSE'.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The List dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--column</varname>=COLUMN</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the column headers to appear in the List dialog.
|
|
|
|
You must call the <command>--column</command> option for
|
|
|
|
each column you want to appear in the dialog.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--checklist</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies that the first column should contain check boxes in the List dialog.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--radiolist</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies that the first column should contain radio boxes in the List dialog.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-02-01 12:17:32 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--editable</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Allows the displayed items to be edited.
|
2003-02-01 12:17:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--seperator</varname>=SEPERATOR</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies what string should be used when the List dialog returns the selected entries.
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>
|
|
|
|
The following commandline is an example of how to use the List dialog:
|
|
|
|
<programlisting>
|
|
|
|
zenity --list --title="Choose bugs you wish to view" \
|
|
|
|
--text="Select items from the list below." \
|
|
|
|
--column="Bug Number" --column="Severity" --column="Description" \
|
|
|
|
992383 Normal "GtkTreeView crashes on multiple selections" \
|
|
|
|
293823 High "GNOME Dictionary does not handle proxy" \
|
|
|
|
393823 Critical "Menu editing does not work in GNOME 2.0"
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
|
|
|
|
2003-01-18 19:04:26 +00:00
|
|
|
<figure id="zenity-list-screenshot">
|
|
|
|
<title>List Selection dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-list-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; List dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== Progress Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-progress-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>Progress Dialog</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--progress</command> to create a Progress dialog.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
&app; reads data from
|
|
|
|
standard input line by line. If a line is prefixed with a hash (#), the text is
|
|
|
|
updated with the text on that line. If a line contains only a number, the percentage
|
|
|
|
is updated with that number.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The Progress dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--text</varname>=TEXT</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the text to appear in the Progress dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--percentage</varname>=PERCENTAGE</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies the initial percentage that should be set in the Progress dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-06-03 21:52:16 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--auto-close</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Closes the progress dialog when 100% has been reached.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--pulsate</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies that the Progress dialog should pulsate until an EOF character is read
|
2003-01-18 18:02:14 +00:00
|
|
|
from standard input.</para>
|
|
|
|
</listitem>
|
2003-01-19 12:31:13 +00:00
|
|
|
</varlistentry>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The following script is an example of how to use the Progress dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
<programlisting>
|
|
|
|
#!/bin/sh
|
|
|
|
(
|
|
|
|
echo "10" ; sleep 1
|
2003-05-19 18:24:41 +00:00
|
|
|
echo "# Updating mail logs" ; sleep 1
|
2003-01-22 01:50:28 +00:00
|
|
|
echo "20" ; sleep 1
|
2003-05-19 18:24:41 +00:00
|
|
|
echo "# Resetting cron jobs" ; sleep 1
|
2003-01-22 01:50:28 +00:00
|
|
|
echo "50" ; sleep 1
|
2003-05-19 18:24:41 +00:00
|
|
|
echo "This line will just be ignored" ; sleep 1
|
2003-01-22 01:50:28 +00:00
|
|
|
echo "75" ; sleep 1
|
2003-05-19 18:24:41 +00:00
|
|
|
echo "# Rebooting system" ; sleep 1
|
2003-01-22 01:50:28 +00:00
|
|
|
echo "100" ; sleep 1
|
|
|
|
) |
|
2003-05-24 01:36:24 +00:00
|
|
|
zenity --progress --title="Update System Logs" --text="Scanning mail logs..." --percentage=0
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
if [ "$?" = -1 ] ; then
|
|
|
|
zenity --error --text="Update cancelled."
|
|
|
|
fi
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<figure id="zenity-progress-screenshot">
|
|
|
|
<title>Progress dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-progress-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Progress dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== Text Information Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-text-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>Text Information Dialog</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
Use <command>--text-info</command> to create a Text Information dialog.
|
2003-01-22 01:50:28 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The Text Information dialog has the following options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--filename</varname>=FILENAME</term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Specifies a file to be loaded in the Text Information dialog.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-19 12:13:08 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--editable</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Allows the displayed text to be edited. The edited text is
|
|
|
|
returned to standard error when the dialog is closed.</para>
|
2003-01-19 12:13:08 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</variablelist>
|
|
|
|
|
2003-01-22 01:50:28 +00:00
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
The following script is an example of how to use the Text Infomation dialog:
|
2003-01-22 01:50:28 +00:00
|
|
|
<programlisting>
|
|
|
|
#!/bin/sh
|
|
|
|
|
2003-05-24 01:36:24 +00:00
|
|
|
FILE=`zenity --file-selection --title="Select a file"'
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
case $? in
|
|
|
|
0)
|
2003-05-24 01:36:24 +00:00
|
|
|
zenity --text-info --title=$FILE --editable 2>/tmp/tmp.txt
|
2003-01-22 01:50:28 +00:00
|
|
|
|
|
|
|
1)
|
|
|
|
echo "No file selected.";;
|
|
|
|
-1)
|
|
|
|
echo "No file selected.";;
|
|
|
|
esac
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
2003-09-01 08:27:59 +00:00
|
|
|
<figure id="zenity-text-screenshot">
|
|
|
|
<title>Text Information dialog example</title>
|
|
|
|
<screenshot>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata fileref="figures/zenity-text-screenshot.png" format="PNG"/>
|
|
|
|
</imageobject>
|
|
|
|
<textobject>
|
|
|
|
<phrase>&app; Text Information dialog example</phrase>
|
|
|
|
</textobject>
|
|
|
|
</mediaobject>
|
|
|
|
</screenshot>
|
|
|
|
</figure>
|
|
|
|
|
2003-01-18 18:02:14 +00:00
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<!-- ==== Miscellaneous Options ====== -->
|
|
|
|
|
|
|
|
<sect1 id="zenity-miscellaneous-options">
|
2003-09-01 08:27:59 +00:00
|
|
|
<title>Miscellaneous Options</title>
|
2003-01-18 18:02:14 +00:00
|
|
|
|
|
|
|
<para>
|
2003-09-01 08:27:59 +00:00
|
|
|
&app; has the following miscellaneous options:
|
2003-01-18 18:02:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--about</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Displays some information about &app;.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>--version</varname></term>
|
|
|
|
<listitem>
|
2003-09-01 08:27:59 +00:00
|
|
|
<para>Prints the version number of &app;.</para>
|
2003-01-18 18:02:14 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect1>
|
2003-01-18 14:28:54 +00:00
|
|
|
|
2003-01-15 10:28:19 +00:00
|
|
|
<!-- ================ 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>
|