fancytext & GridBagSizer

I would really like to replace the StaticText instances that I display within my GridBagSizer with
fancytext instances. Of course, fancytext requires direct access to the DC and doesn't behave like
a regular control. Is this something that can be reasonably done and, if so, what's the best manner
of going about this?

  thanx,

    Ben Scherrey

Benjamin Scherrey wrote:

I would really like to replace the StaticText instances that I display within my GridBagSizer with fancytext instances. Of course, fancytext requires direct access to the DC and doesn't behave like a regular control. Is this something that can be reasonably done and, if so, what's the best manner of going about this?

Create a FancyTextCtrl class that derives from wx.PyControl and uses fancytext to draw itself. You could use wx/lib/stattext.py as a model.

···

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