[comp.windows.x] Data table viewing and editing in Motif

nichols@cscsun1.larc.nasa.GOV (Chris Nichols) (02/28/91)

	I recently sent out a request for knowledge of a widget or widget
layout in Motif that could have the Athena list widget's capacity for 
multiple columns.  The request, however, was incomplete.  I am seeking
a widget or widget layout that facilitates the viewing of tables of variable
size, while allowing the user to select and edit any of the items in the
table being viewed.  The tables should look somewhat like a spreadsheet,
having any number (even a thousand) rows and columns.  The application 
should be able to change the contents and, consequently the size, of the
"table widget" to view different data tables (as the list contained in an
Athena list widget may be changed with intrinsic functions, and its size in
columns by XtSetValues).  In addition, the user should be able to scroll
through a table logically in any direction by the use of arrow keys as well
as by scrollbars.
	Clearly, OSF/Motif does not currently offer a widget that answers
in any way to this description, however, I do need some method for achieving
the requirements of my task.  I got a clue from the Tutorial Notes for the
Introduction to OSF/Motif class from XHIBITION90.  In this document, there
are sections concerning "field controls" and "field navigation" which
discuss the use of KNextField and KPrevField keys.  Unfortunately,
neither these key bindings nor the terms "field controls" and "field
navigation" appear in the OSF/Motif documentation.  Does anyone know of
or use field controls.  Is there any way to control field navigation, and
is this part of the answer to my quest for a selection-table widget?

	Thanks.
	Chris Nichols