1

I am creating a script in Python to integrate Pidgin with Unity (Ubuntu 12.04), I've managed to do the counting notifications system using the Unity API, but i dont know what event or signal that 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 (https://developer.pidgin.im/wiki/DbusHowto) but none of them worked, is there any GTK(or anything) event that is triggered when the window chat gets focus?

4

1 回答 1

0

此处列出了对话 UI 信号,这些信号可能对您尝试做的事情更有帮助。

虽然我不知道我理解你的评论是什么意思,当你尝试其他一些信号时,计数器被立即擦除。这听起来对我来说可能是一个编码错误。

于 2013-06-28T13:52:21.943 回答