Search My Blog

Thursday, February 19, 2009

Linux Today - More fun with Zenity: shell script/GUI interactivity

More fun with Zenity: shell script/GUI interactivity
Feb 19, 2009, 22 :02 UTC (0 Talkback[s]) (268 reads)

(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



http://www.linuxtoday.com/news_story.php3?ltsn=2009-02-19-027-35-OS-HL-SW

Don

No comments: