mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-22 03:37:06 +01:00
8 lines
309 B
Python
8 lines
309 B
Python
|
|
text.SetDefaultStyle(wx.TextAttr(wx.RED))
|
|
text.AppendText("Red text\n")
|
|
text.SetDefaultStyle(wx.TextAttr(wx.NullColour, wx.LIGHT_GREY))
|
|
text.AppendText("Red on grey text\n")
|
|
text.SetDefaultStyle(wx.TextAttr(wx.BLUE))
|
|
text.AppendText("Blue on grey text\n")
|