Hello Stephens (this is going to be fun...I just know it.) As Stephen D pointed out, there was a push to add traditional gui elements to DrScheme (now DrRacket), which currently lives in the `embedded-gui` collection. Although honestly, that library is old and hasn't been maintained for years.
Another alternative is my editor collection which is still in VERY early stages of development, but it also lets you build editors in DrRacket. I'm still making a cleaner interface for it, and ultimately I would like to be able to make a nice graphical video editor with it. (Powered by #lang video). But for now, you can see an example of doing a similar thing (making a video editor that is embedded directly in code) on github. Good luck Stephen F. and feel free to ping me if you have any questions. : https://docs.racket-lang.org/embedded-gui/index.html : https://github.com/videolang/idmt : https://lang.video : https://github.com/videolang/video/blob/master/video/private/editor.rkt ~Leif Andersen On Monday, January 1, 2018 at 12:39:10 PM UTC-5, Stephen Foster wrote: > > Yes, exactly -- Like Snap! except I don't need the runtime, just the code > editing paradigm. > > I googled for insert-gui and the closest thing I found was this: > > https://github.com/mflatt/guibuilder > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmflatt%2Fguibuilder&sa=D&sntz=1&usg=AFQjCNHnbO_aZsxDE5ECeocU8Sf2_YYFYA> > > This seems really promising. > > Also, I didn't know about the plot library and its interactive snips. So > I'll look more deeply at that too. > > Thanks! > > --Stephen > > On Saturday, December 30, 2017 at 5:31:28 PM UTC-8, spdegabrielle wrote: >> >> Hi Stephen, >> >> I'm assuming you meant something like Snap (http://snap.berkeley.edu) in >> Dr Racket? >> >> Snips are powerful; they can inserted in text and pasteboard editors; >> they can be dynamic(e.g. plot), and they can contain other editors(text or >> pasteboard). >> >> The only possibly related prior work I’m aware of was an insert-gui >> functionality in DrRacket (maybe even DrScheme?) which allowed you to >> insert GUI elements into program text. >> >> There was a query about 'Extending DrRacket with non-text tabs' that >> might be helpful (see >> https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ) >> >> The DrRacket plugins documentation has a example of extending DrRacket >> https://docs.racket-lang.org/tools/implementing-tools.html >> >> Kind regards, >> Stephen D >> >> some documentation links: >> * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html >> >> * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/ >> * Pasteboard(editor): >> http://docs.racket-lang.org/gui/pasteboard_.html >> >> >> On Thu, 28 Dec 2017 at 04:30, Stephen Foster <ste...@thoughtstem.com> >> wrote: >> >>> If I wanted to build a drag-and-drop, visual programming interface for >>> programming in DrRacket, is there any prior work I can build on? Ideally, >>> I'd like to implement this as a DrRacket "snip", so that my students can >>> make programs that are partially text-based and partially visual. Any >>> suggestions? Has anyone done something in the ballpark? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Racket Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to racket-users...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.