PDA

View Full Version : Zenity combobox



binks
November 23rd, 2006, 06:47 PM
is it posible to create a combo box using zenity
i am writing a gui to make tovid easier for a nix newbie ie as easy to encode an avi to dvd as they can get in doze but i want the user to be able to choose either pal ntsc or ntscfilm as the disc format
any ideas welcome cheers binks :)

Tomosaur
November 23rd, 2006, 07:45 PM
You can use the zenity --list function, and have radio buttons or check-lists. If you need an explanation of zenity's functions, you should type 'man zenity' into the terminal.

binks
November 23rd, 2006, 10:57 PM
i have read man zenity but i want the user to be able to choose only 1 of the 4 options --list lets them choose all
cheers
binks

Tomosaur
November 23rd, 2006, 11:47 PM
Not if you use the radio buttons :)

binks
November 25th, 2006, 08:53 AM
cheers thomosaur the combolist works great and thanks for grubed as it was when i read the source on weds evening that i discovered zenity and decided to play
cheers binks :);)

Tomosaur
November 25th, 2006, 02:19 PM
Haha, well, glad I could help :)