# IupCopyClassAttributes

Definition: | include pGUI.e IupCopyClassAttributes(Ihandle src_ih, dst_ih) -- or -- IupCopyAttributes(Ihandle src_ih, dst_ih)
Description: | Copies all registered attributes from one element to another. Both elements must be of the same class. src_ih: identifier of the source element. dst_ih: identifier of the destiny element. IupCopyAttributes() is similar but copies all hash table attributes from one element to another. (The official docs do not say both elements must be of the same class, but it seems a sensible practice to adhere to.) Internal attributes or non string attributes are not copied.
pwa/p2js: | Not supported.
See Also: | IupGetClassAttributes, IupGetClassName, IupGetClassType, IupGetAllAttributes, IupSaveClassAttributes