"wxPython in Action" Erratum
Frank Tobia
frank.tobia at gmail.com
Mon Jun 25 15:15:48 PDT 2007
I've found an inconsistency between the "wxPython in Action" book and the
wxPython implementation, regarding the wx.TextAttr class.
On page 195, 2nd paragraph, the last two sentences state "The class does not
have setter methods, since instances of wx.TextAttr are immutable. To change
the style of text, you must create an instance." An inspection of the docs,
as well as the class itself, shows this not to be the case. wx.TextAttr has
SetXXX methods corresponding to its GetXXX methods, and is apparently
mutable.
-Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200706=
25/b2b7303d/attachment.htm
More information about the wxpython-users
mailing list