I wonder if wxHtmlWindow has a GetParser() and SetParser() method because I can not find them from wxWindows Reference, but I assume it should have them... And if somebody could post some example codes of wxHtmlWinParser and wxHtmlCell, it would be very helpful to me. Thank you.
Jenny
···
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
I wonder if wxHtmlWindow has a GetParser() and SetParser()
It has GetParser(), the tag handler classes have both.
method because I
can not find them from wxWindows Reference, but I assume it should have
them... And if somebody could post some example codes of wxHtmlWinParser
and
wxHtmlCell, it would be very helpful to me. Thank you.
There is a very brief example (1 line) in wxPython/lib/wxpTag.py. That is
the extent of my knowledge of it, to tell you any more I would have to do
the same thing that you can do: read the docs and the sources.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
I wonder if wxHtmlWindow has a GetParser() and SetParser() method
because I can not find them from wxWindows Reference, but I assume
it should have them...
Why? wxHtmlWindow only works with wxHtmlWinParser. If you want to
extend it, use tag handlers, not own parser.
And if somebody could post some example
codes of wxHtmlWinParser and wxHtmlCell, it would be very helpful
to me. Thank you.
download wxWindows (C++), see samples/html/*/*.cpp and translate it
to Python while reading ;).