[wxPython-users] wx.StaticText size (12KB attachment)

Christopher Barker Chris.Barker at noaa.gov
Fri Dec 28 09:33:36 PST 2007


Algirdas Brazas wrote:
> Yep, I use GetExtents to get line size. And it is so, that this size is 
> bigger than the text itself.
> Excuse me for noobie question - when using wx.DC will I get the text as 
> bitmap or will it still be selectable?

Just the image -- a bitmap if you want, or just the screen itself. Any 
selection or anything you want you'd have to write yourself. But 
wx.StaticText doesn't provide selectable text either.

Maybe you want the wx.RichTextCtrl, or another solution.

If you give us the "big picture" of what you are trying to do, we can 
make suggestions as to how you might do it.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list