Re: [compiz] Python plugin (Python API for Compiz)

2008-01-23 Thread Travis Watkins
On 4/10/07, Mike Dransfield <[EMAIL PROTECTED]> wrote: > Removing WRAP/UNWRAP totally seems virtually impossible > without losing a lot of functionality. If I make them just provide > a named method then I have to check each plugins attributes > one by one and they would still have to call unwrap/

Re: [compiz] Python plugin (Python API for Compiz)

2008-01-23 Thread Travis Watkins
On 4/9/07, Mike Dransfield <[EMAIL PROTECTED]> wrote: > Here is my python loader plugin which loads plain python > scripts as full plugins. Instead of zoomPreparePaintScreen you should just be able to have preparePaintScreen and have the C side call WRAP/UNWRAP around running this method. Python p

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-16 Thread Mike Dransfield
I have just made another round of improvements and fixes. The main fixes have been to the memory usage and to add some forgotten functions. There are now 8 python plugins included in the package basiczoom - Same as before, just a basic zoom desktopmenu - Activates a menu when clicking on the d

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-13 Thread Mike Dransfield
Just FYI I have updated this to support a few extra functions and have generated some (less than useful) documentation which I have here. http://www.anykeysoftware.co.uk/compiz/pydoc/compiz.html ___ compiz mailing list [EMAIL PROTECTED] http://lists.fr

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-10 Thread Mike Dransfield
Travis Watkins wrote: On 4/10/07, Mike Dransfield <[EMAIL PROTECTED]> wrote: Removing WRAP/UNWRAP totally seems virtually impossible without losing a lot of functionality. If I make them just provide a named method then I have to check each plugins attributes one by one and they would still hav

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-10 Thread Mike Dransfield
Travis Watkins wrote: On 4/9/07, Mike Dransfield <[EMAIL PROTECTED]> wrote: Here is my python loader plugin which loads plain python scripts as full plugins. Instead of zoomPreparePaintScreen you should just be able to have preparePaintScreen and have the C side call WRAP/UNWRAP around running

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-10 Thread Pierpaolo Follia
Thank you very much Mike, great work. I'm testing it, and it seems to run quite well here. For those who wants to try this plugin, remember to install python-opengl and python-ctypes, because you need them to load sample plugins. Regards, Pierpaolo On 4/10/07, Mike Dransfield <[EMAIL PROTECTED]

[compiz] Python plugin (Python API for Compiz)

2007-04-09 Thread Mike Dransfield
Here is my python loader plugin which loads plain python scripts as full plugins. There is not much documentation, but I have included a few examples to get you going. triangle - Just a basic plugin which shows a triangle on a button press. This shows using ctypes to pass values from compiz to