Re: How to align the text of a Listbox to the right

2006-04-28 Thread Leonardo da Vinci
Sori Schwimmer ha scritto: > For a listbox, I would give a width and go with string > formatting. In your case, I guess that what I'll do is > to limit the width to something acceptable, and show > only the tail of the line. Yes, this is exactly what I wanted to do. Do you know a way to accomplis

Re: How to align the text of a Listbox to the right

2006-04-27 Thread Leonardo da Vinci
I have to use a Listbox that shows a list of entries. Every entry is a char string quite long in size and I cannot set "width" to a large value due to limitations of screen resolution. The rightmost part is more important, so I thought that I could show only the end of the string by aligning the fi

How to align the text of a Listbox to the right

2006-04-27 Thread Leonardo da Vinci
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? Google did not show up the answer to my request. Thanks very much. L -- http://mail.python.org/mailman/listinfo/python-list

Xml document writing

2005-10-17 Thread Vinci
Hi, I have to append a child under a node of a Xml document: I tried to create both a text and a node element, but the child doesn't figure in the Xml document. Can anyone help me? Thank you very much! :) -- Vinci -- http://mail.python.org/mailman/listinfo/python-list

Node Subtree

2005-10-14 Thread Vinci
Hi, I'm using Python to work on Xml documents importing the minidom module: in particular I need to get the whole subtree rooted at a given node "n". Does anyone know whether there is a way to find it with a function /class or by importing another module? Thank you! -- Alevi -- http://mail.pyt