Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!hp-pcd!hpcvlx!gabe From: gabe@hpcvlx.cv.hp.com (Gabe Begeddov) Newsgroups: comp.windows.x.motif Subject: Re: How can I set the input focus? Message-ID: <110630009@hpcvlx.cv.hp.com> Date: 21 Sep 90 23:30:25 GMT References: <1990Sep17.132421.3858@dle.dg.com> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 12 / hpcvlx:comp.windows.x.motif / john@lintilla.dle.dg.com (John Farrell) / 6:24 am Sep 17, 1990 / Can someone tell me how I can explicitly set the input focus to a particular widget from within my application? In 1.1 you should call XmProcessTraversal(target , XmTRAVERSE_CURRENT). In 1.0 you can use the undocumented _XmGrabTheFocus(target). Do not use the Xt interfaces directly since you will bypass the motif traversal layer and cause it to get confused.