summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--TODO6
-rw-r--r--data/zenity.128
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 <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.
+
2003-05-27 Glynn Foster <glynn.foster@sun.com>
* 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 <brodydani@hotmail.com>
* 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 <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)
bgstack15