Tkinter Listbox string formatting question - how to kill a dancing snake ?

Fredrik Lundh fredrik at
Tue Oct 31 09:30:56 CET 2006

Hendrik van Rooyen wrote:

> Is there a way to format this so it will line up with  *any*  font ?
> I would prefer not to give up and use a fixed width font - it looks so
> teletypish...

sounds like contradicting requirements to me.

instead of trying to force the listbox to behave like a multicolumn 
widget, maybe you could switch to another widget?  some alternatives include

     a Text widget (you have to roll your own selection logic)
     bwidgets multicolumn ListBox:
     something based on the wck (that's what I'd would use myself):
     and perhaps there's something in Pmw:

More information about the Python-list mailing list