Function PopupMenu.addRadioCheckItem
Adds a new radio check button with text label
.
An id
can optionally be provided, as well as an accelerator (accel
). If no id
is provided, one will be created from the index. If no accel
is provided then the default 0
will be assigned to it. See getItemAccelerator
for more info on accelerators.
Note: Checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See setItemChecked
for more info on how to control it.
void addRadioCheckItem
(
const(String) label,
const(long) id = -1L,
const(long) accel = 0L
) nothrow @nogc;