Top Document: Motif FAQ (Part 9 of 9) Previous Document: News Headers Next Document: 294)* How can I implement "bubble help" or "tool tips" with Motif? See reader questions & answers on this topic! - Help others by sharing your knowledge [Last modified: May 95] Answer: If you press the help key the help callback of the widget with the keyboard focus is called (not the one containing the mouse). You can't get the help callback of a non-keyboard-selectable widget called. To get `context sensitive' help on these, you have to find the mouse, associate its position with a widget and then do the help. The X Resource, Issue 6, has an article on implementing context help in Motif in this manner, that is, using the mouse position to indicate the widget for which context help is desired, as well as using resources to specify the help. The demo program lets you toggle between using the method described in the article and XmTrackingLocate() for comparision purposes. Contributed by: Jay Schmidgall jay@vnet.ibm.com (author of the article mentioned above). Thanks to chen@adi.com (Franklin Chen) for correcting the URL. User Contributions:Top Document: Motif FAQ (Part 9 of 9) Previous Document: News Headers Next Document: 294)* How can I implement "bubble help" or "tool tips" with Motif? Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: