Just in case: I think you can also simulate a mouse event at (x, y) and see what element replies, but this has a number of disadvantages compared to Matthew's method.<br><br>Laurent<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 2:05 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's currently no such method. You would have to search through the<br>
hierarchy using each window<%>'s `get-x', `get-y', and `get-size'.<br>
<div><div class="h5"><br>
At Wed, 12 Sep 2012 14:17:08 -0600, Kieron Hardy wrote:<br>
> Hi all,<br>
><br>
> Does anyone know what the equivalent of find-snip in pasteboard% would be<br>
> for containees within containers?<br>
><br>
> I'll looking to be able to get the GUI component at a particular (x,y)<br>
> within a container. I thought I'd seen a function that would do what I<br>
> need, but in looking through the documents I can't find it.<br>
><br>
> If there is no such function, would the best approach be to find the<br>
> inner-most (most-contained?) containee that has an extent covering that<br>
> particular (x,y)?<br>
><br>
> Cheers,<br>
><br>
> Kieron.<br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br>