How to align the text of a Listbox to the right

Eric Brunel eric_brunel at despammed.com
Thu Apr 27 09:13:11 EDT 2006


On 27 Apr 2006 02:35:50 -0700, Leonardo da Vinci  
<leonardodiserpierodavinci at gmail.com> wrote:

> Greetings gentlemen and ladies,
> I have a question: in Tkinter, how to align a Listbox entry (i.e. a
> line of text) to the right?

In a real Listbox, the answer is simple: you can't.

What are you trying to do? Maybe there is another widget more suited to  
your needs.
-- 
python -c "print ''.join([chr(154 - ord(c)) for c in  
'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])"



More information about the Python-list mailing list