On Sat, 2009-08-22 at 14:47 +0300, Николай wrote: > Have you tried www.pyjs.org and http://www.pyjd.org/
now yes :) i tried this example http://github.com/lkcl/pyjamas-desktop/blob/master/pyjamas-webkit/pyjamas/Controls.py as there is no usage nor tutorial docs included, i just tried this: o...@klotz:~/Desktop/Pyjamas-Desktop-0.1$ ./pyjd.py Controls.py Controls history: TODO /home/osku/Desktop/Pyjamas-Desktop-0.1/pyjamas/ui.py:26: DeprecationWarning: the sets module is deprecated from sets import Set File "./pyjd.py", line 493, in <module> webbrowser = WebBrowser(sys.argv[1], appdir) File "./pyjd.py", line 334, in __init__ print_stack() cannot import name Controls /home/osku/Desktop/Pyjamas-Desktop-0.1/Controls.py ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64 ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded Traceback (most recent call last): File "./pyjd.py", line 404, in _loading_stop_cb self.init_app() File "./pyjd.py", line 381, in init_app set_main_frame(main_frame) File "/home/osku/Desktop/Pyjamas-Desktop-0.1/pyjamas/__pyjamas__.py", line 15, in set_main_frame DOM.init() File "/home/osku/Desktop/Pyjamas-Desktop-0.1/pyjamas/DOM.py", line 89, in init mf.connect("browser-event", browser_event_cb) # yuk. one signal? oh well.. TypeError: <webkit.WebFrame object at 0x276cb90 (WebKitWebFrame at 0x27a3770)>: unknown signal name: browser-event (pyjd.py:5245): GLib-GIO-CRITICAL **: g_file_read_async: assertion `G_IS_FILE (file)' failed and get an empty web-browser? window... how do i use this Controls.py example ? cheers andre _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
