Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

easy gui



Stephen Adler wrote:
> Matthew Gillen wrote:
>> Stephen Adler wrote:
>>  
>>> Guys,
>>>
>>> What, in your opinion, is the easiest gui software. PerlTK, or what
>>> ever. I need to setup a test procedure which is script based and an easy
>>> gui where the operator clicks a button which kicks off a script would be
>>> best.
>>>     
>>
>> Check out 'zenity' from gnome.  Built for exactly this kind of thing.
>>
>> Matt
>>
>>   
> This is almost perfect. I would like to be able to display a menu, and
> when clicking on the menu button item, a shell script executes. The
> return status of the shell script could set the background color of the
> menu button. (Green success, red failure.) A quick look through zenity
> didn't show anything. I could repop up the window using a while [ 1 ];
> do; case etc; So that every time you click on a menu button zanity
> exists and you rexecute zanity at the top of the loop.
> 

For your first question, there's a 'list' type:
zenity --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE \
Oranges FALSE Pears FALSE Toothpaste

Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org