Parameters for tray.setMenuItemState.
Change one row's checked or enabled state in place, searching every zone and submenu for the id. Giving checked (even false) makes the row checkable. The native menu is rebuilt each time it opens, so the change shows on the next opening.
Parameters for
tray.setMenuItemState. Change one row'scheckedorenabledstate in place, searching every zone and submenu for the id. Givingchecked(evenfalse) makes the row checkable. The native menu is rebuilt each time it opens, so the change shows on the next opening.