root/functions/set-data.r
| Revision 111, 218 bytes (checked in by ashley, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | set-data: make function! [ |
| 2 | "Set and show a widget's data attribute." |
| 3 | face [object!] |
| 4 | data [any-type!] |
| 5 | /no-show "Don't show" |
| 6 | ][ |
| 7 | face/data: either series? data [copy data] [data] |
| 8 | unless no-show [show face] |
| 9 | ] |
Note: See TracBrowser
for help on using the browser.
