VOOZH about

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

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


  • Courses
  • Tutorials
  • Interview Prep

wxPython - SetLabel() function in wx.StaticText

Last Updated : 17 Dec, 2021
In this article we are going to learn about SetLabel() function associated with wx.StaticText class of wxPython. SetLabel() function is used to set the string label for the Static Text. It takes a string parameter that is used as label for Static Text.
Syntax: wx.StaticText.SetLabel(self, label) Parameters:
Parameter Input Type Description
label string The label to set.
Code Example: Output Window: 👁 Image
Comment