wxPython - Set Tooltip for radio button Last Updated : 14 Feb, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 TypeDescriptionstringstringstring used as tool tip as an argument. Code Example: Python3 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): # parent panel for radio buttons self.pnl = wx.Panel(self) # create radio buttons self.rb1 = wx.RadioButton(self.pnl, label ='Btn1', pos =(30, 10), size =(100, 20)) self.rb2 = wx.RadioButton(self.pnl, label ='Btn2', pos =(30, 30), size =(100, 20)) self.rb3 = wx.RadioButton(self.pnl, label ='Btn3', pos =(30, 50), size =(100, 20)) # set tooltip for radio button self.rb1.SetToolTip("Radio Button") 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 - Set tooltip for Button R RahulSabharwal Follow Improve Article Tags : Python Python-gui Python-wxPython Python wxPython-Button Practice Tags : python Similar Reads wxPython - Set tooltip for Button In this article we will learn how we can assign a tooltip to a Button. In order to assign tooltip we use SetToolTip() function associated with wx.Button class of wxPython. SetToolTip() function takes a string argument that would be used as a tooltip. Syntax: wx.Button.SetToolTip(self, string) Parame 1 min read wxPython - SetItemToolTip() method in wx.RadioBox In this article we are going to learn about SetItemToolTip() method associated with wx.RadioBox class of wxPython. SetItemToolTip() method is simply used to set the tooltip text for the specified item in the radio group. This function is currently only implemented in wxMSW and wxGTK2 and does nothin 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 - 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 - Hide Radio Button 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 an 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 Like