class Pen
package kha.input
Static methods
Methods
notify(downListener:(Int, Int, Float) ‑> Void, upListener:(Int, Int, Float) ‑> Void, moveListener:(Int, Int, Float) ‑> Void):Void
Creates event handlers from passed functions.
Parameters:
downListener | function with |
---|---|
upListener | function with |
moveListener | function with |
notifyWindowed(windowId:Int, downListener:(Int, Int, Float) ‑> Void, upListener:(Int, Int, Float) ‑> Void, moveListener:(Int, Int, Float) ‑> Void):Void
Creates event handlers from passed functions like notify
function, but only for window with windowId:Int
id argument. The windows are not supported by all the targets.