PEXCopyLookupTable(3) — Subroutines
Name
PEXCopyLookupTable - Copy Lookup Table
Synopsis
void PEXCopyLookupTable(Display ∗display, PEXLookupTable src_table, PEXLookupTable dst_table)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
src_tableThe resource identifier of the source lookup table.
dst_tableThe resource identifier of the destination lookup table.
Returns
None
Description
This function copies entries from the source lookup table to destination lookup table, after first deleting all entries in the destination lookup table. Both tables must already exist as valid lookup table resources. Both must have been created for the same class of drawables, and both must be the same table type.
Data Structures
typedef XID PEXLookupTable;
Errors
BadMatchThe specified lookup tables were not created with compatible drawables.
BadPEXLookupTable
A specified lookup table resource identifier is invalid, or the table type is unsupported.
See Also
PEXCreateLookupTable