Changes

Jump to: navigation, search

How to Use Zenity

524 bytes added, 12:16, 17 July 2011
no edit summary
All of the zenity dialog boxes that prompt users for information, return that information as standard output (stdout). '''To Therefore, to store it into a <u>variable</u> to be used later in the program, you can use command substitution (enough said, since this is being used for an assignment! You figure it out :) ... )'''.
</tr>
</table>
 
 
<u>Prompting User (Menu Selection)</u>
 
<table>
<tr>
<td>zenity --list --radiolist --text "<b>Pleasei</b> make a selection:" --hide-header --column "Buy" --column "Item" FALSE "Door 1" FALSE "Door 2" FALSE "Door 3" FALSE Quit</td>
</tr>
<tr>
<td>Here is input dialog box for user to enter input:<br /><br />[[Image:zenity_selection.png|left|200px]]</td>
</tr>
</table>
 
 
 
<u>Displaying Text Over Several Lines</u>
13,420
edits

Navigation menu