RadioMenuItem

open class RadioMenuItem(toggleGroup: ToggleGroup, text: String) : ToggleMenuItemBase

Constructors

Link copied to clipboard
constructor(toggleGroup: ToggleGroup, text: String)

Functions

Link copied to clipboard
open override fun toggle()

Unlike a ToggleMenuItem, we cannot toggle a RadioMenuItem to its unselected state. So this sets selected to true regardless of its current state.