wxPython – SetBackgroundColour() function in wx.StatusBar
In this article e are going to learn about SetBackgroundColour() function associated with wx.StatusBar class of wxPython. SetBackgroundColour() function is used to set the colour of the background of the status bar. It takes wx.Colour as an argument.
Syntax: wx.StatusBar.SetBackgroundColour(self, colour)
Parameter Input Type Description colour wx.Colour Colour for the background.
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