Pidgin script with Python/ Get Focus Signal

Posted by Mr Alles on Ask Ubuntu See other posts from Ask Ubuntu or by Mr Alles
Published on 2012-09-24T20:21:13Z Indexed on 2012/09/24 21:49 UTC
Read the original article Hit count: 331

Filed under:
|
|
|

I am creating a script in Python to integrate Pidgin with Unity (12.04), I've managed to do the counting notifications system using the Launcher API. But I dont know what event or signal is activated when the conversation window gains focus (To clear the message counter). I've tried some of the signals available on the documentation of Pidgin but none of them worked. Is there any GTK(or anything) event that is triggered when the window chat gets focus?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about unity