wxPython – GetStatusText() function in wx.StatusBar
In this article we are going to learn about GetStatusText() function associated with wx.StatusBar class of wxPython. GetStatusText() function is one of the most useful method in wx.StatusBar as this function returns the string associated with a status bar field.
It only takes single argument the number of the status field to retrieve, starting from zero.
Syntax: wx.StatusBar.GetStatusText(self, i=0)
Parameter Input Type Description i int The number of the status field to retrieve, starting from zero.
Returns: The status field string if the field is valid, otherwise the empty string.
Return Type: string
First Field Text: This is first field Second Field Text: This is second field
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