[sugar] activity executing other aplications

Bert Freudenberg bert
Fri Feb 23 07:51:01 EST 2007


On Feb 23, 2007, at 13:38 , Jo?o Bosco A. Pereira Filho wrote:

> Dan Williams escreveu:
>> On Fri, 2007-02-23 at 10:08 -0200, "Jo?o Bosco A. Pereira Filho"  
>> wrote:
>>
>> Ideally, sugarize the application.  If not, you'll still need to  
>> modify
>> the application to tell sugar about various events.  See the etoys
>> activity.
>>
>   What if the application is written in C++? Is etoys written in  
> python?

Etoys runs on a virtual machine written in C (the core is actually C  
generated from Smalltalk, but that doesn't matter here).

The Python activity stub runs etoys as a separate executable, but  
redirects its window into the activity's GTK window. Also, it opens a  
pipe to forward dbus messages into Etoys.

We still plan to get rid of the python stub eventually, but it works  
well enough for now to not be a top priority.

- Bert -





More information about the Sugar-devel mailing list