🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7198

Motif 1.1 Text widget

#7198
From: melpar!whitson
Date: Sun, 24 Mar 1991 12:32
22 lines
1405 bytes
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
Technical Details
Message-ID: <2127@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: melpar!whitson@uunet.uu.net
Newsgroups: comp.sys.sun
Subject: Motif 1.1 Text widget
Keywords: Windows
Message-ID: <2127@brchh104.bnr.ca>
Date: 24 Mar 91 12:32:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 22
Approved: Sun-Spots@rice.edu
X-Original-Date: Fri Mar 22 10:04:49 1991
X-Sun-Spots-Digest: Volume 10, Issue 62, message 14
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu