Get current PurpleConversation
António Pinho
shinigami.godspeed at gmail.com
Thu Jun 18 14:58:53 EDT 2009
will do thank you : )
2009/6/18 Etan Reisner <pidgin at unreliablesource.net>
> On Sun, Jun 14, 2009 at 10:02:17PM +0100, António Pinho wrote:
> > Hi! I am making a plugin that adds a button to the conversation window..
> > when i click that button i need the callback to get that window's
> > PurpleConversation*. How can i get it?
>
> You can either assign the conversation as the data to the callback
> function when you set up the callback, or you can pass some other
> information from which you can get the conversation as that data, or you
> can keep a mapping from created buttons to their conversations in a hash
> table, etc.
>
> Might I also suggest looking at other plugins that add similar buttons to
> the conversation windows and seeing what they do for possible ideas.
>
> -Etan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20090618/94d5d109/attachment-0001.html>
More information about the Devel
mailing list