1XmRepTypeGetRegistered(library call) XmRepTypeGetRegistered(library call)
2
3
4
6 XmRepTypeGetRegistered — A representation type manager function that
7 returns a copy of the registration list
8
10 #include <Xm/RepType.h>
11 XmRepTypeList XmRepTypeGetRegistered(void)
12
14 XmRepTypeGetRegistered retrieves information about all representation
15 types that are registered with the representation type manager. The
16 registration list is an array of structures, each of which contains
17 information for a representation type entry. The end of the registra‐
18 tion list is marked with a representation type entry whose
19 rep_type_name field has a NULL pointer. This routine allocates memory
20 for the returned data. The application must free this memory using
21 XtFree.
22
23 The representation type entry structure contains the following informa‐
24 tion:
25
26 typedef struct
27 {
28 String rep_type_name;
29 String *value_names;
30 unsigned char *values;
31 unsigned char num_values;
32 Boolean reverse_installed;
33 XmRepTypeId rep_type_id;
34 } XmRepTypeEntryRec, *XmRepTypeList;
35 (void)
36
37 rep_type_name
38 The name of the representation type
39
40 value_names
41 An array of representation type value names
42
43 values An array of representation type numerical values
44
45 num_values
46 The number of values associated with the representation type
47
48 reverse_installed
49 A flag that indicates whether or not the reverse converter is
50 installed
51
52 rep_type_id
53 The identification number of the representation type
54
56 Returns a pointer to the registration list of representation types.
57
59 XmRepTypeRegister(3) and XmRepTypeGetRecord(3).
60
61
62
63 XmRepTypeGetRegistered(library call)