Re: pygobject replacement?

2007-11-14 Thread Linan
Thanks. It's very helpful. On Nov 14, 12:50 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > 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 > &g

pygobject replacement?

2007-11-14 Thread 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 ha

Async callback in python

2006-12-04 Thread Linan
Hi, In javascript, code could be written like this: ... var _p=XMLHttpRequest(); _p.open('GET',url,true); _p.send(null); _p.onreadystateChange=function(){ if(_p.readyState==4) cb(_p.responseText); } ... This basic A