In this article we are going to learn how can we change the background colour of Radio Box present in the frame. In order to do that we are going to use SetBackgroundColour() method. SetBackgroundColour() function takes wx.Colour argument which will be used as background colour for Radio Box.
Syntax: wx.RadioBox.SetBackgroundColour(self, colour)
Parameter Input Type Description colour wx.Colour Colour to be used for backgrund.
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