Common Desktop Environment: Help System Author's and Programmer's Guide

Example

The following code segment gets the button's ID, assigns a callback, and manages the button. It assumes that quickHelpDialog was just created.

Widget  moreButton;
moreButton = DtHelpQuickDialogGetChild (quickHelpDialog,
                                      DtHELP_QUICK_MORE_BUTTON);
 XtAddCallback (moreButton, XmNactivateCallback,
                MoreHelpCB, NULL);
 XtManageChild (moreButton);