Created
September 14, 2013 19:25
-
-
Save kanzure/6564816 to your computer and use it in GitHub Desktop.
python gtk3 libwebkit libjavascriptcore gi.repository gobject introspection JSGlobalContextRef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [12]: frame = browser.webview.get_main_frame() | |
In [13]: frame.get_global_context() | |
--------------------------------------------------------------------------- | |
TypeError Traceback (most recent call last) | |
<ipython-input-13-28813e0f64ff> in <module>() | |
----> 1 frame.get_global_context() | |
/usr/lib/python2.7/dist-packages/gi/types.py in function(*args, **kwargs) | |
111 @wraps_callable_info(info) | |
112 def function(*args, **kwargs): | |
--> 113 return info.invoke(*args, **kwargs) | |
114 | |
115 return function | |
TypeError: Couldn't find conversion for foreign struct 'JavaScriptCore.GlobalContext' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment