Re: [racket-users] New module log-bracketed; should probably be something else

2021-09-03 Thread David Storrs
On Thu, Sep 2, 2021 at 5:32 PM Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > Thoughts: > >- Perhaps the logger should be optional. The default value would be >(current-logger). >- The event name (like on-complete) could also be optional. The >default would be the

Re: [racket-users] Is there an easy way to disable a GUI element?

2021-09-03 Thread Ryan Kramer
Perfect, thanks. I thought I explored all the relevant interfaces but I must have overlooked window<%>. On Friday, September 3, 2021 at 1:00:37 AM UTC-5 gneuner2 wrote: > > > On 9/2/2021 5:39 PM, Ryan Kramer wrote: > > I see that button% has an `enabled` field, but I'm not seeing anything for

Re: [racket-users] Is there an easy way to disable a GUI element?

2021-09-03 Thread George Neuner
On 9/2/2021 5:39 PM, Ryan Kramer wrote: I see that button% has an `enabled` field, but I'm not seeing anything for slider%, text-field%, and choice%. If I want to disable these elements, do I have to roll my own enable/disable logic? Also, is there a way to change a button's `enabled` status