Skip to content

Commit

Permalink
doc: add @history note for checkable-menu-item
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Mar 1, 2024
1 parent a5426d6 commit c61f6f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gui-easy/gui/easy/scribblings/reference.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,13 @@
(or/c 'alt 'cmd 'meta 'ctl 'shift 'option)
(or/c char? symbol?)))) #f]) (is-a?/c view<%>)]{

Returns a representation of a menu item with a checkbox. The @racket[action] callback is called with the current checked state when the menu item is clicked. Use @racket[#:checked?] to set or update the checkbox programmatically.}
Returns a representation of a menu item with a checkbox. The
@racket[action] callback is called with the current checked state
when the menu item is clicked. Use @racket[#:checked?] to set or
update the checkbox programmatically.

@history[#:added "0.18"]
}

@defproc[(menu-item-separator) (is-a?/c view<%>)]{
Returns a representation of a menu item separator.
Expand Down

0 comments on commit c61f6f8

Please sign in to comment.