[Pythonmac-SIG] WebKit, SVG
Glenn Andreas
gandreas at delver.com
Tue Sep 30 15:10:50 EDT 2003
>Ronald_Oussoren:
>
>>WebKit uses the plugins installed on your system, the SVG plugin
>>should therefore work.
>
>Are there any examples (code, text) of the benefits of using
>the WebKit?
I've added using WebKit to the "Python Help" window in PyOXIDE - it
took more time to get the pydoc HTML web server running in a separate
thread (i.e, 10 minutes instead of 5), and the end result is very
impressive (and even added a "search" field to the help browser).
Basically drop the view in with IB, and then:
def showTopic(self, topic):
from Foundation import NSURL, NSURLRequest
self.webView.mainFrame().loadRequest_(NSURLRequest.requestWithURL_(NSURL.URLWithString_("http://localhost:13139/"+topic+".html")))
--
Glenn Andreas gandreas at delver.com
Theldrow, Blobbo, Cythera, oh my!
Be good, and you will be lonesome
More information about the Pythonmac-SIG
mailing list