Panel setMouseCallback
-
- is there a way to get the component thats been clicked?
for "normal" callbacks this component gets passed in, but onMouseEvent call backs seem to just get the event...
-
this
inside the callback refers to the object. This also works with paint routines, timer callbacks and preload change callbacks. -
@Christoph-Hart duh! ---- great thanks.