cdCanvasSetAttribute
| Definition: |
include pGUI.e
cdCanvasSetAttribute(cdCanvas canvas, string name, nullable_string val, dword_seq args={}) |
| 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). if args is not {} then it performs a val = sprintf(val,args). The C function cdCanvasSetfAttribute is not separately wrapped; this function suffices thanks to the optional args parameter (simply delete the f). |
| pwa/p2js: | Supported, but currently for "SIZE" only. |