1XtGetClassExtension(3) XT FUNCTIONS XtGetClassExtension(3)
2
3
4
6 XtGetClassExtension - locate a class extension record
7
9 #include <X11/Intrinsic.h>
10
11 XtPointer XtGetClassExtension(WidgetClass object_class, Cardinal
12 byte_offset, XrmQuark type, long version, Cardinal record_size);
13
15 object_class
16 Specifies the widget class containing the extension list to
17 be searched.
18
19 byte_offset
20 Specifies the offset in bytes form the base of the widget
21 class of the extension field to be searched.
22
23 type Specifies the name of the class extension to be located.
24
25 version Specifies the minimum acceptable version of the class exten‐
26 sion required for a match.
27
28 record_size
29 Specifies the minimum acceptable length of the class exten‐
30 sion record required for match, or 0.
31
33 The list of extension records at the specified offset in the specified
34 widget_class will be searched for a match on the specified type, a ver‐
35 sion greater than or equal to the specified version, and a record size
36 greater than or equal the specified record_size if it is nonzero.
37 XtGetClassExtension returns a pointer to a matching extension record or
38 NULL if no match is found. The returned extension record is owned by
39 the widget class and must not be modified or freed by the caller, ex‐
40 cept possibly to be modified by the widget class owner.
41
43 X Toolkit Intrinsics - C Language Interface
44 Xlib - C Language X Interface
45
46
47
48X Version 11 libXt 1.2.1 XtGetClassExtension(3)