On Jun 11, 2019, at 4:54 PM, Matthew Flatt wrote:
> At Tue, 11 Jun 2019 16:45:05 -0400, James Platt wrote: >> It looks like there is not way to enable and disable (grey out) menu >> items the way that there is with buttons. > > There's no `enable` initialization argument for `menu-item%`, but > there's an `enable` method the same as for `button%` instances. If > would be nice to have an `enable` initialization argument to create an > initially disabled menu item, but you can send `enable` just after > creating the menu item. > > Is that what you were looking for, or do you have something else in > mind? Thanks. I think this will work for me but, yes, it would be nice to have the initialization argument. That was what threw me off into thinking that it wasn't available. James -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/BEA1A70C-69B1-44CC-ACA8-7A18992054EB%40biomantica.com. For more options, visit https://groups.google.com/d/optout.