Linux Today: Linux News On Internet Time.

More fun with Zenity: shell script/GUI interactivity

Feb 19, 2009, 22:02 (0 Talkback[s])
(Other stories by Ryan Cartwright)

[ Thanks to steve hill for this link. ]

"Not just info dialogs
Zenity can do a lot more than just provide information dialogs -- handy though they are. It has a whole range of dialogs that you can use to get user feedback and decision-making involved with your scripts. Examples include not only the traditional errors, warnings, questions and progress dialogs but things like calendars, text entry, lists and file-selection. Without wanting to become a replica of the zenity manual, let’s have a look at some of them.

"Errors and warnings
In essence these two are the same as information dialogs but they use a different icon on the dialog itself. This code displays a warning dialog:"

Complete Story

Related Stories: