[pygtk] pygtkmozembed: new-window
Jan Christoph Ebersbach
pygtk at e-jc.de
Tue May 8 18:56:43 WST 2007
Hi,
I tried to embed mozilla into a gtk application and it worked right away
.. but I am not able to handle links with a 'target="_blank"' attribute
correctly.
If I don't handle the new-window signal, nothing happens (no new window
occurs and the page is also not loaded). If I try to handle it, nothing
happens either!
Here is my callback (I want to load the new page in the same mozembed
instance):
def new_window(self, mozembed, retval, chromemask):
retval = mozembed
return retval
According to the documentation
(http://www.pygtk.org/pygtkmozembed/index.html) I should return a new
mozembed-object via retval but retval is of the type gobject.GPointer
and there seems to be no way to fill in a mozembed instance.
Thanks.
--
Jan Christoph Ebersbach
Have you ever read God's love letter to you? http://www.gottkennen.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20070508/b28a7723/attachment.pgp
More information about the pygtk
mailing list