[Sugar-devel] [project ideas] - port of sugar to pyjamas.
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon Sep 7 18:09:40 EDT 2009
folks, hi,
yesterday i thought i'd investigate doing a port of sugar to
pyjamas[-desktop]. reading around i saw the project ideas page, and
filled in a section:
http://wiki.sugarlabs.org/go/Development_Team/Project_Ideas#Port_of_Sugar_to_Pyjamas-Desktop
i haven't presumed to place a "priority" on the entry.
also in case you were wondering if it was possible, i managed
something rather bizarre: importing an alternative implementation of
gtk when the underlying loader/application (python-hulahop) is itself
a gtk application. the trick is to set up the gtk loader/application,
then do del sys.modules['gtk']. then, by placing the alternative
implementation into sys.path - again, _after_ the "main" gtk app has
been set up, any subsquent "import gtk" calls will pick up the
alternative implementation.
in this way, there stands a good chance of not having to alter (much,
he said...) gtk-based sugar applications, and have them run instead in
python-hulahop. or MSHTML. or pywebkitgtk. or (ultimately) in a web
browser.
l.
More information about the Sugar-devel
mailing list