summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-05-28 23:19:16 +0000
committerGlynn Foster <gman@src.gnome.org>2003-05-28 23:19:16 +0000
commitc5056dd3bbbcd964a9782240f9415443b36b26c2 (patch)
tree166fddb0abfff8d5f1fd65d309826a143de1ae9d /data
parentf091d10d08727e360172c4dbcca1762cbf9f6f7d (diff)
downloadzenity-c5056dd3bbbcd964a9782240f9415443b36b26c2.tar.gz
Update some more items. Update man page a little, although it still should
2003-05-29 Glynn Foster <glynn.foster@sun.com> * TODO: Update some more items. * data/zenity.1: Update man page a little, although it still should contain more useful information I guess.
Diffstat (limited to 'data')
-rw-r--r--data/zenity.128
1 files changed, 23 insertions, 5 deletions
diff --git a/data/zenity.1 b/data/zenity.1
index 2995cfd..e6b3637 100644
--- a/data/zenity.1
+++ b/data/zenity.1
@@ -11,7 +11,7 @@ input. This allows you to present information, and ask for information
from the user, from all manner of shell scripts.
.PP
For example, \fBzenity --question\fP will return either 0 or 1,
-depending on whether the user pressed \fIYes\fP or \fINo\fP. \fBzenity
+depending on whether the user pressed \fIOK\fP or \fICancel\fP. \fBzenity
--entry\fP will output on standard output what the user typed into the
text entry field.
.PP
@@ -64,7 +64,12 @@ Set the dialog title
.TP
.B \-\-window-icon=ICONPATH
Set the window icon
-
+.TP
+.B \-\-width=WIDTH
+Set the dialog width
+.TP
+.B \-\-height=HEIGHT
+Set the dialog height
.PP
Calendar options
@@ -203,10 +208,23 @@ you like to remove it?\fP. The return code will be 0 (true in shell)
if \fIOK\fP is selected, and 1 (false) if \fICancel\fP is selected.
.IP
zenity --question --title "Alert" --text "Microsoft Windows has been found! Would you like to remove it?"
-
+.PP
+Show the search results in a list dialog with the title \fISearch Results\fP
+and the text \fIFinding all header files...\fP.
+.IP
+find . -name '*.h' | zenity --title "Search Results" --text "Finding all header files.." --column "Files"
+.PP
+Display a weekly shopping list in a check list dialog with \fIApples\fP and \fIOranges\fP pre selected
+.IP
+zenity --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste
+.PP
+Display a progress dialog while searching for all the postscript files in your home directory
+.P
+find `echo $HOME` '*.ps' | zenity --progress --pulsate
.SH AUTHOR
-\fBZenity\fP was written by Glynn Foster <glynn.foster@sun.com>. This
-manual page was written by Ross Burton <ross@burtonini.com>.
+\fBZenity\fP was written by Glynn Foster <glynn.foster@sun.com>.
+.P
+This manual page was written by Ross Burton <ross@burtonini.com>.
.SH SEE ALSO
\fBgdialog\fP(1), \fBdialog\fP(1)