wxPython - Hide Radio Button Last Updated : 26 Jun, 2020 Comments Improve Suggest changes Like Article Like Report In this article we are going to learn about that, how can we hide a radio button present on frame. We can hide a radio button using Hide() function. Hide() function takes no argument and hide the radio button window from the frame. Hide() is different from Drop() as it just hides the radio button and can be shown again while Drop() deletes the radio button window. Syntax: wx.RadioButton.Hide(self) Parameters: Hide() function requires no parameters. Return Type: bool Code Example: Python3 1== import wx APP_EXIT = 1 class Example(wx.Frame): def __init__(self, *args, **kwargs): super(Example, self).__init__(*args, **kwargs) self.InitUI() def InitUI(self): self.pnl = wx.Panel(self) # create radio button at position (30, 10) self.rb1 = wx.RadioButton(self.pnl, label ='Btn1', pos =(30, 10), size =(100, 20)) # hide radio button self.rb1.Hide() def main(): app = wx.App() ex = Example(None) ex.Show() app.MainLoop() if __name__ == '__main__': main() Output Window: Comment More infoAdvertise with us Next Article wxPython - Hide Radio Button R RahulSabharwal Follow Improve Article Tags : Python Python-gui Python-wxPython Practice Tags : python Similar Reads 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. Other 1 min read 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 cl 1 min read wxPython - Show hidden Radio Box In this article we will learn how can we show the hidden Radio Box present in the frame. In order to do that we will use Show() method. Show() method can be used for both hide as well as show a widget. Show takes a boolean argument show, which if True shows the widget else hides it. Syntax: wx.Radio 2 min read wxPython - Change Size of Radio Button In this article we will learn to change size of a Radio Button. We will change the size of Radio Button using SetSize() function associated with wx.RadioButton class of wxPython. SetSize() function is simply used to change the size of the window of Radio Button in pixels. Syntax: wx.RadioButton.SetS 1 min read wxPython - Change font of Radio Button In this article we are going to learn that how can we change the font of the label text present on the radio button present in the frame. We need to follow some steps as follows: Step 1: Create a wx.Font object. Step 2: Add different attributes of font in parameters like: family, style etc. Step 3: 1 min read wxPython - Disable Button In this article we are going to learn about how can we disable a 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.Button class of wxPy 1 min read wxPython - Set Tooltip for radio button In this article we are going to learn about that, how can we add tooltip to a radio button. We will use SetToolTip() function associated with wx.RadioButton. SetToolTip() function takes string used as tool tip as an argument. Syntax: wx.RadioButton.SetToolTip(self, string)Parameters: ParameterInput 1 min read wxPython - Change Font colour of Radio Button In this article we are going to learn that how can we change the foreground or font color of the radio button. In order to change the foreground colour of Radio Button we will use SetForegroundColour() function. SetForegroundColour() function sets the foreground colour of the window. The meaning of 2 min read wxPython - Hide Radio Box from the frame In this article we are going to learn how can we hide the whole Radio Box widget present inside a frame. In order to do that we will be using Hide() function. Hide() function requires no parameters. Hide() function only hides the Radio Box widget while not remove from the window. Also, the value of 2 min read wxPython - GetCount() function in wx.RadioBox In this article we are going to learn about GetCount() function associated with wx.RadioBox class of wxPython. GetCount() function is used to simply return the number of items in the control. No parameters are required by GetCount() function. Syntax: wx.RadioBox.GetCount(self) Parameters: No paramet 1 min read Like