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

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


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?

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 :-)

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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to