[comp.windows.x] Does the Athena List Widget Treat Tabs As "Zero-Width"?

drapeau@jessica.stanford.edu (George D. Drapeau) (09/07/89)

I'll try to explain the subject line.  I wrote a small program that
displayed some text in a Text widget.  The contents looked something
like this:

	1	word
	15	anotherWord
	3	etc.

I wanted the behavior of this widget to be such that when one of these
"rows" was pressed, a callback would be activated (the callback would
check which row was selected, say, "15	anotherWord", then do
something with that selection).

It seemed to me that this looked like a job for the List widget rather
than the Text widget, so I made the change.  The problem is that the
space between the numbers and the words in the above rows are actually
tabs and the List widget seems not to have an idea of how wide to make
a tab, whereas the Text widget handles tabs nicely.

Does the List widget have support for tabs?  If not, would you please
consider this my request for tab support in the List widget?

Thanks in advance,

	George
______________________________________________________________________________
George D. Drapeau			Internet: drapeau@jessica.stanford.edu
Academic Information Resources
Stanford University