In this article we are going to learn about how can we disable a radio button present in a frame. Sometimes when we dont want user to press a button we can disable a button and the button become unclickable.
In order to disable a button we can use Disable() function associated with wx.RadioButton class of wxPython.
Parameters: No parameters are required by Disable() function
Return Type: bool
Returns: Returns True if the window has been disabled, False if it had been already disabled before the call to this function.
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.