[racket] Finding a GUI containee at x,y within a container

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Sep 12 20:05:25 EDT 2012

There's currently no such method. You would have to search through the
hierarchy using each window<%>'s `get-x', `get-y', and `get-size'.

At Wed, 12 Sep 2012 14:17:08 -0600, Kieron Hardy wrote:
> Hi all,
> Does anyone know what the equivalent of find-snip in pasteboard% would be
> for containees within containers?
> I'll looking to be able to get the GUI component at a particular (x,y)
> within a container. I thought I'd seen a function that would do what I
> need, but in looking through the documents I can't find it.
> If there is no such function, would the best approach be to find the
> inner-most (most-contained?) containee that has an extent covering that
> particular (x,y)?
> Cheers,
> Kieron.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.