wxPython – GetSelection() method of wx.RadioBox
In this article we are going to learn about GetSelection() method associated with wx.RadioBox class of wxPython. GetSelection() function is simply used in order to returns the index of the selected item or NOT_FOUND if no item is selected.
No parameters are required by GetSelection() function.
Parameters No parameters are required by GetSelection() function.
Returns: The position of the current selection.
Return Type: int