Can I have styled text if my platform doesnt support rich text

Yes. There is a cross-platform styled text widget in wxPython, called wx.stc. StyledTextCtrl, that is a Python wrapper around the Scintilla rich text component. Since Scintilla is not part of wxWidgets, but rather a separate third-party component that has been incorporated into wxPython, it does not share the same API as the classes we have discussed. A full discussion of wx.stc.StyledCtrl is beyond our scope here, however, you can find documentation at http://wiki. wxpython.org/index.cgi/wxStyledTextCtrl.

Was this article helpful?

0 0

Post a comment