[Glade-devel] Python catalog to support python widgets at runtime



Hello people.
As you probably know the BINDINGS branch have been inactive for a long
time.
Coming up with a framework to support multiples languages in glade and
actually implementing the full gladeui API for such languages is a big
job.
That said, it does not mean we cant have python widget at runtime!

The idea is simple, i have ported the old branch code into a regular
glade plugin.

So all you have to do is add gladepython as your catalog library
and set the init function to glade_python_init()
?glade_python_init() will run a python interpreter and import your python library
using the catalog name.

btw , the patch is against trunk, but it should work in stable

enjoy

Juan Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pythonplugin.py
Type: text/x-python
Size: 160 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pythonplugin.xml
Type: application/xml
Size: 444 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.rdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gladepython.patch
Type: text/x-patch
Size: 11275 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.bin 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]