That was easier than I expected. (Thanks for the nice code!) I mostly copied menu-item and added the relevant stuff.
I originally had the #:checked? contract as maybe-obs/c boolean? but I changed it to maybe-obs/c any/c so it was more like the #:enabled? parameter and to match the gui:checkable-menu-item% documentation.
Fixes #51.
That was easier than I expected. (Thanks for the nice code!) I mostly copied
menu-item
and added the relevant stuff.I originally had the
#:checked?
contract asmaybe-obs/c boolean?
but I changed it tomaybe-obs/c any/c
so it was more like the#:enabled?
parameter and to match thegui:checkable-menu-item%
documentation.