Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtGetResourceList(3Xt)

XtSetArg(3Xt)




XtOffset(3Xt) XtOffset(3Xt)
NAME XtOffset, XtNumber - determine the byte offset and number of array elements SYNOPSIS Cardinal XtOffset(pointer-type, member-name) Type pointer-type; Field member-name; Cardinal XtNumber(array) ArrayVariable array; DESCRIPTION The XtOffset macro is usually used to determine the offset of various resource members from the beginning of a widget and can be used at compile time in static initializations. The XtNumber macro returns the number of elements in the specified argument lists, resources lists, and other counted arrays. Arguments These macros accept the following arguments: array Specifies a fixed-size array. member-name Specifies the name of the member for which to calcu- late the byte offset. pointer-type Specifies a type that is declared as a pointer to the structure. SEE ALSO XtGetResourceList(3Xt), XtSetArg(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language Interface November, 1990 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026