##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-28/12:45-0400 ##+ # # row.icn, demonstrate &row event keyword # link enqueue, evmux procedure main() window := open("Event", "g", "size=20,20", "canvas=hidden") # insert an event into the queue, left press, control/shift, 2ms Enqueue(window, &lpress, 11, 14, "m", 2) e := Event(window) write(image(e)) # a side effect of the Event function is keywords settings write("&x:", &x) write("&y:", &y) write("&row:", &row) write("&col:", &col) write("&interval:", &interval) write("&control:", &control) write("&shift:", &shift) write("&meta:", &meta) close(window) end