wxPython – Show hidden Radio Button
In this article we will learn how can we show a hidden radio button. In order to unhide/show a radio button we can use Show() function. Show() function can be used to do both show as well as hide the radio button. Show() function takes show boolean parameter which, If True displays the window. Otherwise, hides it.
Syntax: wx.RadioButton.Show(self, show=True)
Parameter Input Type Description show bool If True displays the window. Otherwise, hides it.
Return Type: bool
Returns: True if the window has been shown or hidden or False if nothing was done because it already was in the requested state.
before clickin button
after clicking button
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