In this article we are going to learn about GetItemFromPoint() function associated with wx.RadioBox class of wxPython. GetItemFromPoint() function is used to simply return a radio box item under the point, a zero-based item index, or NOT_FOUND if no item is under the point.
It takes client point as an parameters.
Syntax: wx.RadioBox.GetItemFromPoint(self, pt)
Parameter Input Type Description pt wx.Point Point in client coordinates.
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course