[comp.windows.x] table widget

didier@bdblues.altair.fr (didier plateau) (02/14/90)

    - The table has variable number of rows and columns: rows and
columns can be created
      interactively.
    - Each table cell can contain any Motif widget. It is possible to
cut or copy the content
      of a cell to paste in another cell.

I guess this is pretty close from what a spreadsheet is supposed to be. 
Has anyone developped such a widget ? If so, can we get it ? What are
the conditions ?
Please email if you know anything.

      -  Didier Plateau -

dmh@goanna.cs.rmit.oz.au (Darren Hosking) (10/23/90)

I want to display a table of items with each column separated by a vertical
bar. The way I have done it is to use an AsciiText widget (Athena) with tabs
set at the beginning of each column (using XawTextSinkSetTabs). I have drawn
the column separators in a pixmap the size of the AsciiText widget and set it
as a background pixmap.

The problem is that tab erases the column separator that it crosses. Also, if
I don't use tab and use space to get to the correct position the column
separator is also erased.

Is there anything I can do to fix this? Is there a better solution?

	Thanks in advance, dmh

ps BTW, is there a specific widget which will do all the above for me (ie a
table widget)?

Darren Hosking			ACSnet: dmh@goanna.cs.rmit.oz	 
Department Of Computer Science	ARPA:   dmh%goanna.cs.rmit.oz.au@uunet.uu.net
RMIT				CSNET:  dmh%goanna.cs.rmit.oz.au@australia
GPO Box 2476V			UUCP:   ...!uunet!goanna.cs.rmit.oz.au!dmh
Melbourne Vic., Australia 3001	PH: +61 3 660 3299 FAX: +61 3 662 1617