How to refresh a buddy list
frede.sch at gmail.com
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 unreliablesource.net>:
> On Thu, Jun 18, 2009 at 02:41:58PM +0200, Cedric Roche wrote:
>> 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 ?
> If you really want your function to be called periodically you want the
> eventloop api (http://developer.pidgin.im/doxygen/dev/html/eventloop_8h.html)
> 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
> Devel mailing list
> Devel at pidgin.im
SOLIS - O lado livre da tecnologia
More information about the Devel