From 2c3fad454ce9d2c1db91b0518bb85f039d438ee5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 18 Jul 2007 12:02:40 +0000 Subject: Added "buffer_move" event handler to plugins API (task #6708) --- doc/en/weechat.en.xml | 62 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 23 deletions(-) (limited to 'doc/en') diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml index bffbddba9..2b9df3058 100644 --- a/doc/en/weechat.en.xml +++ b/doc/en/weechat.en.xml @@ -2785,27 +2785,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb); - : event, see table below: - - - - - Event - Description - - - - - buffer_open - a buffer was open - - - buffer_close - a buffer was closed - - - - + : event (see table below) @@ -2821,8 +2801,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb); - Argument argc is set to 1, argv[0] is number of buffer - open/closed. + Arguments depend on event (see table below). @@ -2839,6 +2818,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb); + + List of events: + + + + + Event + Description + Arguments + + + + + buffer_open + a buffer was open + + argc = 1, argv = { buffer number } + + + + buffer_close + a buffer was closed + + argc = 1, argv = { buffer number } + + + + buffer_move + a buffer was moved + + argc = 2, argv = { new buffer number, old number } + + + + + + Return value: pointer to new event handler. -- cgit v1.2.3