pygobject replacement?

L

Linan

Hi,

I have a python library which is written years ago and heavily using
pygobject in binding signal/events (No GUI stuffs involve). Now I have
to use it in a totally different environment which doesnot allow to
install glib, gtk and gobject. Surely I don't want to change the whole
structure of handling signals/events. Is there any pure python
pygobject replacement that I can switch to, and change only functions
like emit?

Any suggestion is appreciated.
 
J

Jarek Zgoda

Linan napisa³(a):
I have a python library which is written years ago and heavily using
pygobject in binding signal/events (No GUI stuffs involve). Now I have
to use it in a totally different environment which doesnot allow to
install glib, gtk and gobject. Surely I don't want to change the whole
structure of handling signals/events. Is there any pure python
pygobject replacement that I can switch to, and change only functions
like emit?

I used to use Louie (http://pylouie.org/) and PyDispatcher. They are
both synchronous, though, so to have real signal behaviour you have to
use eg. threads.
 
L

Linan

Thanks. It's very helpful.

Linan napisa³(a):


I used to use Louie (http://pylouie.org/) and PyDispatcher. They are
both synchronous, though, so to have real signal behaviour you have to
use eg. threads.

--
Jarek Zgoda
Skype: jzgoda | GTalk: (e-mail address removed) | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
VetaMcRae
Top