Path: utzoo!attcan!uunet!van-bc!ubc-cs!kiwi!dssmv2!jaccard From: jaccard@dssmv2.mpr.ca (Philippe Jaccard) Newsgroups: comp.windows.x.motif Subject: Text widget Message-ID: <2361@kiwi.mpr.ca> Date: 3 Oct 90 15:58:46 GMT Sender: news@eric.mpr.ca Reply-To: jaccard@dssmv2.UUCP (Philippe Jaccard) Organization: Microtel Pacific Research Ltd., Burnaby, B.C., Canada Lines: 14 I am trying to use a MOTIF text widget as a password entry field. This field must display a '*' or any other character for each user input. I was thinking of using the XmNmodifyVerify callback to maintain a copy of the text string. After having duplicate the insertion/deletion in my backup field, I was thinking of simply replacing callbackArg->text->ptr with '*'. It seems that the text provided in the callback datas is only a copy. The text widget don't use these datas to perform text modifications ! Does anybody knows more on this text widget behaviour ? I'll appreciate any suggestions. Philippe