wxPython – ShowItem() method in wx.RadioBox
In this article we are going to learn about ShowItem() method associated with the wx.RadioBox class of wxPython. ShowItem() method is a simple method used in order to show or hide individual buttons.
ShowItem() method returns True if the item has been shown or hidden or False if nothing was done because it already was in the requested state.
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.ShowItem(self, item, show=True)
Parameter Input Type Description item int The zero-based position of the button to show or hide. show bool True to show, False to hide.
Return Type: bool
Returns: True if the item has been shown or hidden or False if nothing was done because it already was in the requested state.