[Tutor] ListBox in Tkinter

Michael Lange klappnase at freenet.de
Tue Jul 19 10:46:44 CEST 2005


On Mon, 18 Jul 2005 17:54:34 +0200
geon <geon at post.cz> wrote:

> Alan G napsal(a):
> 
> >> I would like to ask if it is possible to create such a listbox 
> >> (attached) in TKinter itself or must have pmw ot tix...or ...
> >
> >
> > PMW is written in Tkinter so yes, you could do it yourself but it is 
> > not a native widget. Using PMW would be much easier!
> >
> I have just found this: http://effbot.org/tkinterbook/optionmenu.htm - 
> that is nearly what I needed , just another design.
> I think there are even other new widgets in new Tk/Tcl compared to the 
> http://www.pythonware.com/library/tkinter/introduction/, but 
> undocumented yet. Or poorly or only in original Tk documentation.....
> 

There are three new widgets in Tk 8.4:

the Spinbox (an entry field with "up" and "down" arrow buttons), the PanedWindow , which lets you
dynamically add resizable frames and the LabelFrame, a Frame with a decorative border
and a Label in one of its corners.

Regards

Michael



More information about the Tutor mailing list