[racket] How to get a pict-box into a slideshow?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Sep 20 11:39:36 EDT 2013

Something along those lines is what I had in mind, right. A pict box just
produces a pict, not something that specially knows about subpicts (more
than any other pict would). You can iterate over subpicts, I believe, but
what you're doing is probably better than that.

Robby


On Fri, Sep 20, 2013 at 10:36 AM, Konrad Hinsen
<konrad.hinsen at fastmail.net>wrote:

> Robby Findler writes:
>
>  > Yes. You would use ct-find and friends to find the picts that you put
> into the box.
>
> Sure, but what do I ask ct-find to look for?
>
> I found one way, even though it looks a bit clumsy:
>
>   (define my-text (t "inside the pict box"))
>   (define box ... put the pict box here and insert a Racket box containing
> "my-text" ...)
>   (ct-find box text1)
>
> That makes for a lot of define's, but it works. I'll go on playing
> with this.
>
> Konrad.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130920/763fcfd4/attachment-0001.html>

Posted on the users mailing list.