VOOZH about

URL: https://www.geeksforgeeks.org/python/wxpython-getlabel-function-in-wx-statictext/

⇱ wxPython - GetLabel() function in wx.StaticText - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

wxPython - GetLabel() function in wx.StaticText

Last Updated : 18 Jun, 2020
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
Code Example: Console Output:
This is the Label.
Output Window: 👁 Image
Comment