From c5056dd3bbbcd964a9782240f9415443b36b26c2 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 28 May 2003 23:19:16 +0000 Subject: Update some more items. Update man page a little, although it still should 2003-05-29 Glynn Foster * TODO: Update some more items. * data/zenity.1: Update man page a little, although it still should contain more useful information I guess. --- data/zenity.1 | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'data') 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 . This -manual page was written by Ross Burton . +\fBZenity\fP was written by Glynn Foster . +.P +This manual page was written by Ross Burton . .SH SEE ALSO \fBgdialog\fP(1), \fBdialog\fP(1) -- cgit v1.2.3-2-g168b