I'm using wxpython to create GUI with python, now, is there a way to color specific part of the text?
Example (using Tkinter):
https://i.stack.imgur.com/fGAVA.png
Here is my Print function:
def Print(self, String):
''' Print Received Data '''
self.text_serverLog.AppendText(datetime.now().strftime("[%H:%M:%S] " + String + "\n"))
I found the function SetForegroundColour
but sadly its color the whole TextCtrl
.
I'm using Win7, python 2.7, wxpython. Thanks.