mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-18 14:40:07 +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")
|