XtOffset - Online Linux Manual PageSection : 3
Updated : libXt 1.2.0
Source : X Version 11
Note : XT FUNCTIONS
NAMEXtOffset, XtOffsetOf, XtNumber − determine the byte offset or number of array elements
SYNTAX#include <X11/Intrinsic.h> Cardinal XtOffset(Type pointer_type, Field field_name); Cardinal XtOffsetOf(Type structure_type, Field field_name); Cardinal XtNumber(ArrayVariable array);
ARGUMENTSarray Specifies a fixed-size array. field_name Specifies the name of the field for which to calculate the byte offset. pointer_type Specifies a type that is declared as a pointer to the structure. structure_type Specifies a type that is declared as a structure.
DESCRIPTIONThe XtOffset macro is usually used to determine the offset of various resource fields from the beginning of a widget and can be used at compile time in static initializations. The XtOffsetOf macro expands to a constant expression that gives the offset in bytes to the specified structure member from the beginning of the structure. It is normally used to statically initialize resource lists and is more portable than XtOffset, which serves the same function. The XtNumber macro returns the number of elements in the specified argument lists, resources lists, and other counted arrays.
SEE ALSOXtGetResourceList(3), XtSetArg(3)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface 0
Johanes Gumabo
Data Size : 5,667 byte
man-XtOffsetOf.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 183,447
Visitor ID : :
Visitor IP : 3.129.22.34 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.