Difference between revisions of "How to Use Zenity"
Line 12: | Line 12: | ||
<table border="1" cellpadding="10"> | <table border="1" cellpadding="10"> | ||
<tr> | <tr> | ||
− | <th>-- | + | <th>--calendar</th> |
<td>Display calendar dialog</td> | <td>Display calendar dialog</td> | ||
</tr> | </tr> | ||
Line 20: | Line 20: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--error</th> |
− | <td></td> | + | <td>Display error dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--file-selection</th> |
− | <td></td> | + | <td>Display file selection dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--info</th> |
− | <td></td> | + | <td>Display info dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--list</th> |
− | <td></td> | + | <td>Display list dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--notification</th> |
− | <td></td> | + | <td>Display notification icon</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--progress</th> |
− | <td></td> | + | <td>Display progress indication dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--question</th> |
− | <td></td> | + | <td>Display question dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--text-info</th> |
− | <td></td> | + | <td>Display text information dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--warning</th> |
− | <td></td> | + | <td>Display warning dialog</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <th></th> | + | <th>--scale</th> |
− | <td></td> | + | <td>Display scale dialog</td> |
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:03, 27 January 2010
Definition of Zenity
Zenity is a Linux / Unix command that uses dialog boxes to make shell script more graphical to end-users.
Here is a link to the Wikipedia definition of the Zenity command: http://en.wikipedia.org/wiki/Zenity
Features of Zenity
There are many different types of dialog boxes that the Zenity command can create. The following is a table that uses options (starting with -- symbol immediately followed by a word to indicate the type dialog box to create:
--calendar | Display calendar dialog |
---|---|
--entry | Display text entry dialog |
--error | Display error dialog |
--file-selection | Display file selection dialog |
--info | Display info dialog |
--list | Display list dialog |
--notification | Display notification icon |
--progress | Display progress indication dialog |
--question | Display question dialog |
--text-info | Display text information dialog |
--warning | Display warning dialog |
--scale | Display scale dialog |