Module wx.webkit ? or alternative HTMLWindow for mac

I am looking for HTMLWindow functionality on Mac. I had googled and found on a list that someone said webkit had been wrapped for wxpython and indeed I see webkit in the pydocs fo wxpython but tried to see if it would work but received a NotImplemented Error. Does anyone know anything about whether there is anything functional for wxpython.

Alteratively, is there something else I can try to get HTMLWindow functionality on a Mac? It is not that HTMLWindow will not work entirely, but when the frame is resized or new page displayed I get lines through the content for the portion of the page below the display. In a nutshell, when you scroll to the see the content for any documents larger than the display. There are horizontal lines through it. Kind of reminds me of very ancient television. :wink:

As another line of thought, perhaps there is a way to deal with the line problems with HTMLWindow. I am not sure. I was thinking something that could handle styles tags at the least would be really great. Is there anything like this?

Regards,
David

Hi David,

I am looking for HTMLWindow functionality on Mac. I had googled and found on a list that someone said webkit had been wrapped for wxpython and indeed I see webkit in the pydocs fo wxpython but tried to see if it would work but received a NotImplemented Error. Does anyone know anything about whether there is anything functional for wxpython.

I built the webkit wrapper and last I checked it was working fine with wxPython. Which version of wxPython are you using, and how are you creating/initializing the webkit control?

Thanks,

Kevin

···

On Dec 9, 2005, at 10:02 AM, David Pratt wrote:

Alteratively, is there something else I can try to get HTMLWindow functionality on a Mac? It is not that HTMLWindow will not work entirely, but when the frame is resized or new page displayed I get lines through the content for the portion of the page below the display. In a nutshell, when you scroll to the see the content for any documents larger than the display. There are horizontal lines through it. Kind of reminds me of very ancient television. :wink:

As another line of thought, perhaps there is a way to deal with the line problems with HTMLWindow. I am not sure. I was thinking something that could handle styles tags at the least would be really great. Is there anything like this?

Regards,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

Hi Kevin. Thanks for your reply. I am using wx-2.6-mac-ansi with python 2.3.5

I am trying to create a html window in a pane of a notebook. I am doing this in my __init__ method for my main Frame that subclasses wx.Frame:

wkc1 = WebKitControl(self.pane1)

self is a wx.Frame instance
self.pane1 is a wx.Panel for the the notebook

Last lines in traceback:
     newobj = _webkit.new_WebKitCtrl(*args, **kwargs)
NotImplementedError

Do you have a working example to give me a better idea of how I can get it working on mac. I cannot find very much about it or how I would pass parameters to methods in my application from HTML (but first to get it working). Does it also use wx.HTML or have its own methods? Can you advise where I can find documentation of webkit. Many thanks.

Regards,
David

···

On Friday, December 9, 2005, at 02:17 PM, Kevin Ollivier wrote:

Hi David,

On Dec 9, 2005, at 10:02 AM, David Pratt wrote:

I am looking for HTMLWindow functionality on Mac. I had googled and found on a list that someone said webkit had been wrapped for wxpython and indeed I see webkit in the pydocs fo wxpython but tried to see if it would work but received a NotImplemented Error. Does anyone know anything about whether there is anything functional for wxpython.

I built the webkit wrapper and last I checked it was working fine with wxPython. Which version of wxPython are you using, and how are you creating/initializing the webkit control?

Thanks,

Kevin

Alteratively, is there something else I can try to get HTMLWindow functionality on a Mac? It is not that HTMLWindow will not work entirely, but when the frame is resized or new page displayed I get lines through the content for the portion of the page below the display. In a nutshell, when you scroll to the see the content for any documents larger than the display. There are horizontal lines through it. Kind of reminds me of very ancient television. :wink:

As another line of thought, perhaps there is a way to deal with the line problems with HTMLWindow. I am not sure. I was thinking something that could handle styles tags at the least would be really great. Is there anything like this?

Regards,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org