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
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.