cdCanvasSetAttribute

Definition: include pGUI.e

cdCanvasSetAttribute(cdCanvas hCdCanvas, string name, string val, sequence data={})
Description: Modifies a custom attribute directly in the driver of the active canvas.
If the driver does not have this attribute, the call is ignored. All drivers have the USERDATA attribute (since 5.9).

The C function cdCanvasSetfAttribute is not separately wrapped; this function suffices thanks to the optional data parameter.