1XmRepTypeGetRecord(library call) XmRepTypeGetRecord(library call)
2
3
4
6 XmRepTypeGetRecord — A representation type manager function that
7 returns information about a representation type
8
10 #include <Xm/RepType.h>
11 XmRepTypeEntry XmRepTypeGetRecord(
12 XmRepTypeId rep_type_id);
13
15 XmRepTypeGetRecord retrieves information about a particular representa‐
16 tion type that is registered with the representation type manager. This
17 routine allocates memory for the returned data. The application must
18 free this memory using XtFree.
19
20 rep_type_id
21 The identification number of the representation type
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, *XmRepTypeEntry;
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 representation type entry structure that
57 describes the representation type.
58
60 XmRepTypeGetId(3), XmRepTypeGetRegistered(3), and XmRepTypeRegister(3).
61
62
63
64 XmRepTypeGetRecord(library call)