Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!seismo!seismo.CSS.GOV!bonnett From: bonnett@seismo.CSS.GOV (H. David Bonnett) Newsgroups: comp.windows.x.motif Subject: Re: Help on Context Keywords: Hidden Gems Message-ID: <49314@seismo.CSS.GOV> Date: 9 Jan 91 14:22:06 GMT References: <12334.663393239@hplnpm.hpl.hp.com> Sender: usenet@seismo.CSS.GOV Reply-To: bonnett@seismo.CSS.GOV (H. David Bonnett) Distribution: inet Organization: Center for Seismic Studies, Arlington, VA Lines: 31 In article <12334.663393239@hplnpm.hpl.hp.com>, mayer@HPLNPM.HPL.HP.COM (Niels P. Mayer) writes: |> From: tbray@watsol.waterloo.edu (Tim Bray) |> > wtm%gr.utah.edu@cs.utah.edu (Thomas McCollough) writes: |> > >I am interested in implementing Help on Context |> Another alternative, if you're using 1.1, is the following: |> |> | Widget XmTrackingLocate (widget, cursor, confine_to) |> | Widget widget; |> | Cursor cursor; |> | Boolean confine_to; |> | ... |> | XmTrackingLocate provides a modal interface for selection of |> | a component. It is intended to support context help. The |> | function grabs the pointer and returns the widget in which a |> | button press occurs. |> | ... |> Thank you Niels for pointing out the solution to a problem that myself and others (Kee, Ana Swenson etc) have been looking for. NO THANK YOU to OSF for not mentioning this anywhere in the Motif Programmer's Guide (to stupid little trivia without value....) As others have said: This thing (Prog Guide) SUCKS THE BIG ONE. [no ;-) ] Just a little steam being blown off.. -dave bonnett;Center for Seismic Studies, Arlington, VA bonnett@seismo.css.gov-