I haven't done a lot of work with the GUI so there might be a more appropriate mechanism that I'm not aware of, but I suspect that async channels would fit your needs: https://docs.racket-lang.org/reference/async-channel.html Define a channel, have one GUI element read from it and other GUI elements write to it.
On Mon, Nov 19, 2018 at 6:42 AM Jason Stewart <supp...@eggplantsd.com> wrote: > In Windows, we have a SendMessage() function for dispatching a window > event synchronously, and PostMessage() for asynchronously queuing an event > to a specified window from any thread. > > Is there a way to do PostMessage() from Racket's GUI library? > > Eventspaces feels warm, but couldn't find what I was looking for in it: > > > https://docs.racket-lang.org/gui/windowing-overview.html?q=sleep#%28part._eventspaceinfo%29 > > > -- > 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. > -- 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.