wxPython – Disable Radio button
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.