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. --- ChangeLog | 6 ++++++ TODO | 6 ++++++ data/zenity.1 | 28 +++++++++++++++++++++++----- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b53e098c..be80d551 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2003-05-27 Glynn Foster * src/zenity.glade: Make the progress dialog resize. Lamely diff --git a/TODO b/TODO index 4272fcd6..0597cf7f 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,10 @@ * Canceling progress dialog should kill off process and close the dialog + - Current it does a Hangup, I'm not sure how to solve this +* Would be nice to have an option to use your own icon in the info/warning/message/question + dialogs + - Suggested by kckrinke@opendoorsoftware.com +* gdialog used to have env vars to specify the return values of some of the dialogs + - Suggested by kckrinke@opendoorsoftware.com * Add pixmap support to list dialog ? - Suggested by Dani Brody * Add new format ? diff --git a/data/zenity.1 b/data/zenity.1 index 2995cfd1..e6b36374 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