wxPython – SetSelection() method in wx.RadioBox
In this article we are going to learn about SetSelection() method associated with wx.RadioBox class of wxPython. SetSelection() set the tooltip text for the specified item in the radio group.
This function is currently only implemented in wxMSW and wxGTK2 and does nothing in the other ports.
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. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
Syntax: wx.RadioBox.SetSelection(self, item)
Parameter Input Type Description n int The zero-based item index.