Does Tk provide ComboBox ?

P

Peter Moscatt

Does Tkinter provide a combobox or do I have to find some way of making a
listbox do the job ?

Pete
 
H

Harlin Seritt

Hi Markus,

Pmw has a ComboBox but it's ugly IMO. Tix also has one -- but it's not
much different than the Pmw one. I created one and put it in a
Tkinter.py file. You can see mine here:
http://www.seritt.org/pub/tkinter/Tkinter-03132005.py -- I can honestly
say it's almost fully functional :)

Seriously though, you can use the Listbox for almost anything you would
need a combobox for. In my mind, it's good for tight spaces (I'm sure
someone on this fine board will add something or disagree with me),
looks and little else.

Regards,

Harlin Seritt
 
J

jepler

Another Tk combobox is part of "bwidget". A Python wrapper can be found at
http://tkinter.unpythonic.net/bwidget/
http://unpythonic.net/cgi-bin/viewcvs.cgi/bwidget/
I think the appearance of the combobox is fairly close to the win9x look,
especially when used with my "options.py" package
http://unpythonic.net/cgi-bin/viewc...?rev=1.2&content-type=text/vnd.viewcvs-markup

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCWTW8Jd01MZaTXX0RApERAJ4wRK8PBIUaj8pZiDc8HeQu7w565wCfew3V
5d4cYYt11pwZEbfsBmBlaXI=
=TgUT
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,234
Messages
2,571,178
Members
47,809
Latest member
Adisty

Latest Threads

Top