How to refresh a buddy list

frederico schardong frede.sch at
Thu Jun 18 10:26:30 EDT 2009

Libpurple work with te G-lib, and g-lib provide what you need:

2009/6/18 Etan Reisner <pidgin at>:
> On Thu, Jun 18, 2009 at 02:41:58PM +0200, Cedric Roche wrote:
>>   Hi,
>>   I have a function that displays all buddies and their status. How do I use libpurple to make this function called periodically to refresh my list ?
>>   And more generaly, how do I get the buddies status changes event ?
>>   Thanks
> If you really want your function to be called periodically you want the
> eventloop api (
> though I wouldn't suggest that as the way to do this sort of thing.
> Building the information once when your start up and then using signals to
> monitor for changes is likely a much better way, for that you need to look
> at the account signals, buddy list signals, and whatever other signals are
> relevent to your desired functionality
> (
>    -Etan
> _______________________________________________
> Devel mailing list
> Devel at

Frederico Schardong,
SOLIS - O lado livre da tecnologia

More information about the Devel mailing list