On Sunday, 22 November 2015 18:36:26 UTC-5, Champignac wrote: > On Sunday, 22 November 2015 18:16:23 UTC-5, Robby Findler wrote: > > Possibly you were printing something out? If you have expressions that > > produce non-void results at the top of a "#lang racket" program, they > > will print out, which can trigger creation of the console window. > > > > Robby > > You got it right! > > I was writing few controls like this: > (new menu-item% ... > > which output (object:menu-item% ...) that triggers the console. > > Writing this instead: > (define menu-a (new menu-item% ... > > cures the problem even if 'menu-a' is never used. > > Thanks!
UPDATE: In the end, I found out I could simply write: (void (new menu-item% ... -- 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.