In this article we are going to learn about another function of class wx.MenuBar in wxPython, that is, SetHelpString(). Set help string associates a Help string along with menu item which is further used for various purposes.
Syntax :wx.MenuBar.SetHelpString(self, id, helpString)
Parameter Input Type Description id int Menu item identifier. helpString string Help string to associate with the menu item.
Code Example :
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.