OptionButton.getSelectedId

Returns the ID of the selected item, or 0 if no item is selected.

struct OptionButton
@nogc nothrow const
long
getSelectedId
()

Meta