Difference between revisions of "How to Use Zenity"

From CDOT Wiki
Jump to: navigation, search
(Created page with '== 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 ...')
 
Line 8: Line 8:
 
== Features of Zenity ==
 
== Features of Zenity ==
  
There are many different types of dialog boxes that the Zenity command can create:
+
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:
 +
 
 +
<table border="1" cellpadding="10>
 +
<tr>
 +
    <th>--calendar</th>
 +
    <td>Display calendar dialog</td>
 +
</tr>
 +
<tr>
 +
    <th>--entry</th>
 +
    <td>Display text entry dialog</td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
      <tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
<tr>
 +
    <th></th>
 +
    <td></td>
 +
</tr>
 +
</table>
 +
 +
             
 +
 
 +
      --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

Revision as of 11:59, 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