GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtHelpInstallContextHelp(3) FreeBSD Library Functions Manual XmtHelpInstallContextHelp(3)

XmtHelpInstallContextHelp(), XmtHelpContextHelpCallback() - keyboard bindings for context help.

#include <Xmt/Help.h>

void XmtHelpInstallContextHelp(Widget root, XtCallbackProc proc, XtPointer data)

void XmtHelpContextHelpCallback(Widget w, XtPointer unused1, XtPointer unused2)

INPUTS
root
The root of the widget tree for which the specified context help callback is to be registered.
proc
The callback procedure to register.
data
The data to register with the callback procedure.
w
For XmtHelpContextHelpCallback(), the widget for which context help is to be displayed.
unused1, unused2
These arguments to XmtHelpContextHelpCallback() are unused.

XmtHelpInstallContextHelp() recursively traverses the widget tree rooted at root and registers the callback procedure proc with client data data on the XmNhelpCallback callback list of every widget that is a Motif widget or a subclass and that has its XmNtraversalOn resource set to True. That is, it calls XtAddCallback() for the XmNhelpCallback for every wid get that can have the keyboard focus. All Motif widgets and their Xmt subclasses have an XmNhelpCallback callback list, and invoke the procedures registered on that list whenever they have the keyboard focus and the user strikes the Help key (usually bound to F1).

XmtHelpContextHelpCallback() is a convenience function that calls XmtHelpDisplayContextHelp() to display context help on the widget w. This function is of type XtCallbackProc, so it can be directly registered on the XmNhelpCallback callback list supported by all Motif and Xmt widgets. It can also be passed to XmtHelpInstallContextHelp() to register it on many widgets at once.

Chapter 30, Context Help,
XmtHelpDisplayContextHelp(), XmtHelpDoContextHelp(), XmtHelpGetContextHelp().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.