Path: utzoo!attcan!uunet!samsung!usc!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!eukanuba.wpd.sgi.com!mikey From: mikey@eukanuba.wpd.sgi.com (Mike Yang) Newsgroups: comp.windows.x.motif Subject: Re: XmNHelpCallBack: What How Where? Message-ID: <1990Oct25.165833.1702@relay.wpd.sgi.com> Date: 25 Oct 90 16:58:33 GMT References: <49170@seismo.CSS.GOV> Sender: news@relay.wpd.sgi.com ( CNews Account ) Reply-To: mikey@sgi.com Organization: Silicon Graphics, Inc. Lines: 26 In article <49170@seismo.CSS.GOV>, bonnett@seismo.CSS.GOV (H. David Bonnett) writes: |> Ok: I define |> ,declare and even provide a helpcallback for a given LabelWidget; Now the |> question is: When does it get called, and what does the user do to cause |> this?. It is never defined/clarified in the docs I have. In article <1990Oct24.165335@wsl.dec.com>, klee@wsl.dec.com (Ken Lee) writes: |> According to the Motif programmer's manual, most widgets do not bind a |> translation to the helpCallback. It is up to the application |> programmers to add their own translation for these widgets, typically |> to a HELP key press. Note that some Motif widgets, such as the file |> selection box, do have a help translation. In Motif 1.1, almost all widgets have the translation: osfHelp: Help() Therefore, pressing the "osfHelp" key while the pointer is over the widget will invoke its Help callback, if available. Otherwise, it looks at its ancestors for a Help callback. On many systems, the "osfHelp" key is the F1 key. ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786