Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!ncar!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hplabsb!mgsmith From: mgsmith@hplabsb.HP.COM (Michael Smith) Newsgroups: comp.windows.x.motif Subject: Re: Question concerning XtSetKeyboardFocus() Message-ID: <5955@hplabsb.HP.COM> Date: 22 Jan 91 16:26:28 GMT References: <11234@cae780.csi.com> <982@attc.UUCP> Reply-To: mgsmith@hplabsb.UUCP (Michael Smith) Organization: Hewlett-Packard Labs, Palo Alto, CA Lines: 11 > In Motif 1.0 there was no way to say "XmSetKeyboardFocus(me)" > (I wrote the code myself, heavily borrowing from Traversal.c). > It is my belief that in Motif 1.1 the "traverse to ME" is available, > though may be not documented, I would look for something like > _XmMgrTraversal ( w, direction ) With Motif 1.1, the mechanism is XmProcessTraversal(widget, XmTRAVERSE_CURRENT). Mike Smith HP Labs