I implementing the following drag and drop function with fltk-rs:
testBut2.handle2(move |t, ev| {handleImageDrag(t,ev