Mercurial > pidgin
diff plugins/PERL-HOWTO @ 3456:b48065e52337
[gaim-migrate @ 3503]
A few patches. Brian--tell me what your last name is, and I'll put it in. ;)
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 28 Aug 2002 02:38:19 +0000 |
parents | c98c1e0281ff |
children | cd938f18f3f8 |
line wrap: on
line diff
--- a/plugins/PERL-HOWTO Tue Aug 27 22:22:55 2002 +0000 +++ b/plugins/PERL-HOWTO Wed Aug 28 02:38:19 2002 +0000 @@ -131,10 +131,15 @@ so that gaim knows what the changes are. Perl scripts can short-circuit certain events (namely event_im_send, - event_im_recv, event_chat_send, and event_chat_recv). To short-circuit an - event simply return a non-0 value. This will cause all subsequent scripts - and the event itself to never happen (i.e. the user won't see it happen, - and _send events won't actually send). + event_im_recv, event_chat_send, event_chat_recv and event_set_info). To + short-circuit an event simply return a non-0 value. This will cause all + subsequent scripts and the event itself to never happen (i.e. the user + won't see it happen, and _send events won't actually send). + +GAIM::remove_event_handler(event, function) + This removes the event handler for the specified event that + calls "function" as its handler. The event handler must have been + previously added with GAIM::add_event_handler. GAIM::add_timeout_handler(integer, function, args) This calls function after integer number of seconds. It only calls function