Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x Subject: Re: focus on motif text widgets Message-ID: <1991Apr17.164453.9486@alphalpha.com> Date: 17 Apr 91 16:44:53 GMT References: <9104162100.AA00388@hydro.Saic.COM> <9104162304.AA07526@excess.lcs.mit.edu> Organization: asi Lines: 19 In article <9104162304.AA07526@excess.lcs.mit.edu> converse@expo.lcs.mit.EDU (Donna Converse) writes: > >> Can anyone out there tell me how I can set the input focus to >> a particular instance of a motif text widget? > >See the Xt specification, section 7.3, "Focusing Events on a Child" Unfortunately that won't work. Motif has a complicated internal concept of Focus that it uses to implement keyboard traversal. If you use the Xt calls you'll bypass this mechanism and it won't realize what's happened. The situation will degrade from there on. -- Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.