[Sugar-devel] [project ideas] - port of sugar to pyjamas.

Tomeu Vizoso tomeu at sugarlabs.org
Tue Sep 8 04:08:09 EDT 2009


On Tue, Sep 8, 2009 at 00:09, Luke Kenneth Casson Leighton<lkcl at lkcl.net> wrote:
> 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.

Sounds cool, looking forward to hear further progress.

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


More information about the Sugar-devel mailing list