Re: [racket] Embedding a GUI editor into Slideshows

2011-06-11 Thread Rodolfo Carvalho
Robby, your suggestion didn't work with 5.1.1 under Ubuntu. The difference is that multiple clicks instantiates multiple windows, but none of them were shown on top. Anyway I am satisfied with the current state. I can launch other apps using racket/system and they do take focus! For example I was

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-11 Thread Robby Findler
That does work for me, in the latest pre-release under mac os x. I have a vague recollection that there was a linux bug related to this that has been fixed, but I'm not sure. One thing to try to work around it (if upgrading isn't an option) is to actually create the frame inside the callback: #la

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-11 Thread Rodolfo Carvalho
I tried the following, but the new frame is not shown on top of the slide (I need to alt-tab to see it): #lang slideshow (require racket/gui) (define frame (new frame% [label "Example"])) (define msg (new message% [parent frame] [label "No events so far..."])) (new button% [pa

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-11 Thread Matthew Flatt
You could have a clickback in a slide that creates a new frame on top of the Slideshow frame. That approach has worked ok for me. At Fri, 10 Jun 2011 17:58:21 -0300, Rodolfo Carvalho wrote: > Hello everybody, > > Has anyone had the experience of embedding a "live code editor" into > Slideshow? >

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-10 Thread Robby Findler
That would be easier, but would also have to be added, I believe. Robby On Fri, Jun 10, 2011 at 4:09 PM, Rodolfo Carvalho wrote: > Ok, thanks. > Alt + G brings up a "Go to slide" window. Isn't there a way to do something > similar for let's say Alt + V to bring something else like a video player

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-10 Thread Rodolfo Carvalho
Ok, thanks. Alt + G brings up a "Go to slide" window. Isn't there a way to do something similar for let's say Alt + V to bring something else like a video player or code editor?! []'s Rodolfo Carvalho On Fri, Jun 10, 2011 at 18:03, Robby Findler wrote: > At the moment, I don't think that the

Re: [racket] Embedding a GUI editor into Slideshows

2011-06-10 Thread Robby Findler
At the moment, I don't think that the slideshow pict objects (the things that are displayed in the window) can react to mouse/keyboard events to do what you want. Probably the easiest thing would be to add something at the slide level that would let you direct the viewer to put a GUI control somewh