Motif 1.1 Text widget

melpar!whitson at uunet.uu.net melpar!whitson at uunet.uu.net
Sun Mar 24 22:32:00 AEST 1991


Background :

I am using Motif 1.1 and I need a window with 2 text edit widgets.  One
widget is MULTI_LINE_EDIT mode and the other one is a SINGLE_LINE_EDIT
mode.  Both text widgets must be able to trap the TAB key and insert
spaces to the next tab stop.  Tab stops may be set up at any column
position (not necessarily at every "x" positions).  The way Motif handles
the TAB key normally for a SINGLE_LINE_EDIT widget is that it goes to the
next TAB group. For a MULTI_LINE_EDIT text widget the TAB key tabs over a
specific amount of spaces. 

Questions :

1. Can I change the translation procedure for the TAB key for each of the
   individual text widgets?  If so, how?

2. Is there a way to set specific column positions as TAB stops in the
   text widget?  If so, how?

Thanks,
	Julie Whitson
Please send replies to : uunet!melpar!whitson



More information about the Comp.sys.sun mailing list