XtCreatePopupChildProc() XtCreatePopupChildProc()
Name
XtCreatePopupChildProc - interface definition for an XtNcreatePopupChildProc
procedure.
Synopsis
typedef void (*XtCreatePopupChildProc)(Widget);
Widget shell;
Inputs
shell Specifies the shell which is being popped up.
Description
An XtCreatePopupChildProc is registered as the value of the XtNcreatePopupChildProc resource of a shell widget. It will be called by
XtPopup() just before the shell is popped up, and is intended to provide an opportunity for the application to create the popup child of
the shell. See XtPopup(1) and Shell(3) for more information.
Usage
None of the standard MIT clients make use of the XtNcreatePopupChildProc resource, and most applications will probably find it simpler to
either create both popup shell and popup child in advance, or to delay creation of both until just before XtPopup() is called. Note that
XtPopup() also calls the procedures on a shell's XtNpopupCallback list, and a callback on this list can be used for the same purpose as an
XtNcreatePopupChildProc.
Note that an XtNcreatePopupChildProc procedure is not a widget class method. It could be considered an "instance method" rather than a
"class method." In this way it is similar to the XtNinsertPosition procedure of the Composite widget class.
See Also
XtPopup(1),
Shell(3).
Xt - Pop Ups XtCreatePopupChildProc()