In this article we are going to learn about GetLabel() function associated with wx.StaticText class of wxPython. GetLabel() function is an important function it is used to get the string label associated with wxPython. It returns a string.
No parameters are required in GetLabel() function.
Syntax: wx.StaticText.GetLabel(self, label)
Parameters: No parameters are required in GetLabel() function.
Return Type: string
This is the Label.
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