DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmResolveAllPartOffsets(X3mot)


XmResolveAllPartOffsets -- a function that allows writing of upward-compatible applications and widgets

Synopsis

#include <Xm/XmP.h>

void XmResolveAllPartOffsets (widget_class, offset, constraint_offset) WidgetClass widget_class; XmOffsetPtr * offset; XmOffsetPtr * constraint_offset;

Description

The use of offset records requires two extra global variables per widget class. The variables consist of pointers to arrays of offsets into the widget record and constraint record for each part of the widget structure. The XmResolveAllPartOffsets function allocates the offset records needed by an application to guarantee upward-compatible access to widget instance and constraint records by applications and widgets. These offset records are used by the widget to access all of the widget's variables. A widget needs to take the following steps:

The parameters for XmResolveAllPartOffsets are defined below:


widget_class
Specifies the widget class pointer for the created widget.

offset
Returns the offset record.

constraint_offset
Returns the constraint offset record.

References

XmResolvePartOffsets(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004