I'm trying to figure out how to use the "send" graphics predicates, I'm stuck about how to scan a click from a window, and learn the location on (X,Y) and use it to put an image inside. I just need to know which parameters are made for it in this function:
send(B,recogniser, click_gesture(left,'',single,
and(message(@prolog, insert, C),
massage(W, destroy))
)).