PEXCopyStructure(3) — Subroutines
Name
PEXCopyStructure - Copy Structure
Synopsis
void PEXCopyStructure(Display ∗display, PEXStructure src_structure, PEXStructure dst_structure)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
src_structureThe resource identifier of the source structure.
dst_structureThe resource identifier of the destination structure.
Returns
None
Description
This function copies elements in the source structure to the destination structure. Both structures must already exist as valid structure resources. Elements already in the destination structure are overwritten. The element pointer and editing mode attributes of the source structure are copied to the destination structure as well.
Data Structures
typedef XID PEXStructure;
Errors
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXCreateStructure