wxPython – Change font colour of RadioBox
In this article we are going to learn how can we change the foreground colour of Radio Box present in the frame. In order to do that we are going to use SetForegroundColour() method. SetForegroundColour() function takes wx.Colour argument which will be used as foreground colour for Radio Box.
Syntax: wx.RadioBox.SetForegroundColour(self, colour)
Parameter Input Type Description colour wx.Colour Colour to be used for background.