<div>I tried the following, but the new frame is not shown on top of the slide (I need to alt-tab to see it):</div><div><br></div><div><br></div><div><div><div>#lang slideshow</div><div>(require racket/gui)</div><div><br></div>
<div>(define frame (new frame% [label "Example"]))</div><div><br></div><div>(define msg (new message% [parent frame]</div><div> [label "No events so far..."]))</div><div><br></div><div>
(new button% [parent frame]</div><div> [label "Click Me"]</div><div> (callback (λ (button event)</div><div> (send msg set-label "Button click"))))</div><div><br></div><div>(slide</div>
<div> #:title "Test"</div><div> (clickback (hyperlinkize (t "Hello"))</div><div> (λ () (send frame show #t))))</div></div></div><div><br></div><div><br></div><div>Suggestions?</div><div><br>
</div><div>[]'s</div><br clear="all">Rodolfo Carvalho<br>
<br><br><div class="gmail_quote">On Sat, Jun 11, 2011 at 11:00, 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">
You could have a clickback in a slide that creates a new frame on top<br>
of the Slideshow frame. That approach has worked ok for me.<br>
<div><div></div><div><br>
At Fri, 10 Jun 2011 17:58:21 -0300, Rodolfo Carvalho wrote:<br>
> Hello everybody,<br>
><br>
> Has anyone had the experience of embedding a "live code editor" into<br>
> Slideshow?<br>
><br>
> I woke up with this idea for a coming presentation, I would talk with slides<br>
> and from time to time I would show a code editor, type, and run a script<br>
> (not necessarily racket code) and see the result / show to the audience.<br>
><br>
> Of course this could be done alt-tabbing out of the presentation, but it<br>
> would be cool to have something that follow along the presentation.<br>
><br>
> Was it just a crazy dream?<br>
><br>
> []'s<br>
><br>
> Rodolfo Carvalho<br>
<br>
</div></div></blockquote></div><br>