NAME

cxXtAreaInitialize - create a widget hierarchy for use in a control panel
#include <cx/XtArea.h>

Widget cxXtAreaInitialize()
integer function cxXtAreaInitialize
This function creates an off screen XmForm widget and returns a handle to it. This widget can be used to create a user-specified user interface on a module control panel.

The widget hierarchy created with this function is placed in an active window with cxXtAreaAttach(3E). This will allow display in the IRIS Explorer user interface in both mini and maxi control panels. Because the size of the widget is controlled by the IRIS Explorer user interface, the contained widgets should handle resizing events gracefully.

The IRIS Explorer user interface delivers a parameter when user drawing areas change windows or change size. When this occurs, modules should resize the XmForm widget using cxXtAreaResize(3E).

The X version of the Module Control Wrapper must be used in all modules that use this routine.

See the IRIS Explorer Module Writer's Guide for examples of using a cxXtArea.

cxXtAreaAttach(3E), cxXtAreaResize(3E), XmForm(3X)
Last modified: Mon Nov 6 16:33:53 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996