[wxPython-users] Re: embedding PHP to a GUI
Christopher Barker
Chris.Barker at noaa.gov
Thu Nov 16 13:55:48 PST 2006
Vincent Hirth wrote:
>> wxHtmlWindow to display formatted text -- it's an easy way to do that,
>> but in that case, the html is an implementation detail.
>
> Isn't it what the ie.py plug-in does?
not really. ie.py embeds ie in a wxWidgets app. It then is in charge of
what's going on. wxHtmlWindow is written in wx itself, so it is far more
integrated with your app -- you can put wxWidgets on the page, you can
intercept clicks in links, you can interact with and control the
rendering eengine as much as you like -- it's very powerful but NOT a
full featured browser -- no support for CSS or javascript being the most
obvious missing features.
If you really want a browser, then embed a browser -- if you want an
easy way to display formatted text, images, etc, then wxHtml is great,
but rather than thinking it as an html renderer, think of it as rich
text display that happens to use html as it's formatting language.
>>Somewhere out there is
>> some code that wraps these with a common interface, but I don't'
>> remember where at the moment.
>
> I think this is what I do - I'm using ie.py from Jeff Grimmett. So you're
> saying that the same kind of script may exist for Mac with Safary?
I found it -- it's in Documancer -- go poke around in that source, and
you should find it.
http://documancer.sourceforge.net/
-Chris
More information about the wxpython-users
mailing list