0

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))
         )).
Paulo Moura
  • 18,373
  • 3
  • 23
  • 33
  • Are you using a UI library? I don't understand where predicate send/3 is coming from. – Wouter Beek Oct 29 '14 at 13:25
  • 1
    Ah, now I see the XPCE tag. As a general remark: XPCE is seriously outdated as a UI library/framework. Since SWI comes with great support for Web programming a Web-based UI is in many cases to be preferred. – Wouter Beek Oct 29 '14 at 18:11

0 Answers0