Symbols in text labels.

Symbols in text labels.

Would someone please point me to the documentation for how to put symbols, super/sub script, etc., in labels? In X-Windows I used something called compound strings with substrings of different fonts. Is that how to do it in wxPython?

Just mix fonts within the same StaticTextCtrl?

Example: (rx)

Ron

Shoemaker, Ronnie A. wrote:

Would someone please point me to the documentation for how to put symbols, super/sub script, etc., in labels? In X-Windows I used something called compound strings with substrings of different fonts. Is that how to do it in wxPython?

Just mix fonts within the same StaticTextCtrl?

This isn't supported in wx.StaticText. Perhaps you could do something like that with a wx.html.HtmlWindow.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!