On Tue, 14 Aug 2007 11:04:25 -0300 "Caio Marcelo" <[EMAIL PROTECTED]> babbled:

> Hello,
> 
> After chatting a little bit about it in IRC, I've hacked a way to make E17
> modules using Python. The work is very preliminar, just to test if things
> would go right. The idea is

cool! :)

> 1. have bindings to use E17 module and gadcon client API, and other relevant
> stuff. For testing, right now it just wraps e_module_dialog_show() as a method
> of E17Module Python object (which wraps E_Module structure). This is now in:
> 
> http://littlechina.org/gitweb/?p=cmarcelo/python-e17.git

for simple stuff this is good - but you will nee4d to wrap a LOOOOT of e17
internal calls to make them powerful enough for general use.

> 2. provide a E17 module (written in C and Pyrex) to manage other Python
> modules. The idea is to have this manager itself written in Python (called
> pyman.py). For now I'm not worrying about the 'manager' itself, but whether I
> have access to functionality via Python.  Besides what will be provided by
> (1), here is also possible to use python-ecore stuff (a sample timer already
> works and uses E17 main loop), and python-evas (when gadcon API is properly
> exported to Python) to draw stuff. Code is in:
> 
> http://littlechina.org/gitweb/?p=cmarcelo/pyman.git
> 
> 
> In point (2) I still have doubt whether is best make PyMan try to register
> the Python modules in E17 main module list (i.e.: they will show in modules
> dialog, you could enable/disable them there) or not (have a separated PyMan
> modules dialog). The first option seems doable but I didn't investigated
> further. What do you guys think? Ideas, suggestions?

this is hard to do - these main modules are expected to be c and loaded etc.
via the main modules interface. i think you probably need to have a separate
manager for python modules - select the script to enable.

> The code depends on python-ecore/python-evas being installed (both in CVS
> tree, proto/), and also depends on a recent version of Pyrex. If the module is
> interesting enough I have no problem moving it to CVS too ;-)
> 
> 
> PS: I'm moving to another town this week, so I'll be a little off for the next
> days. If all goes well, next week I'll be helping Gustavo and the
> other folks at INdT
> with EFL + Python too :-)

great! good luck with the move too! :)

> Cheers,
>   Caio Marcelo
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to