diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-07-18 12:02:40 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-07-18 12:02:40 +0000 |
commit | 2c3fad454ce9d2c1db91b0518bb85f039d438ee5 (patch) | |
tree | d2df6f91ec86eadfe1bb5f132d084bfc2aa87831 /doc/en | |
parent | b1a99c5e6f8cdbcf6d965266a562b4198ad4588b (diff) | |
download | weechat-2c3fad454ce9d2c1db91b0518bb85f039d438ee5.zip |
Added "buffer_move" event handler to plugins API (task #6708)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat.en.xml | 62 |
1 files changed, 39 insertions, 23 deletions
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); </listitem> <listitem> <para> - <option>event</option> : event, see table below: - <informaltable colsep="0" frame="none"> - <tgroup cols="2"> - <thead> - <row> - <entry>Event</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>buffer_open</literal></entry> - <entry>a buffer was open</entry> - </row> - <row> - <entry><literal>buffer_close</literal></entry> - <entry>a buffer was closed</entry> - </row> - </tbody> - </tgroup> - </informaltable> + <option>event</option> : event (see table below) </para> </listitem> <listitem> @@ -2821,8 +2801,7 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb); </command> </para> <para> - Argument argc is set to 1, argv[0] is number of buffer - open/closed. + Arguments depend on event (see table below). </para> </listitem> <listitem> @@ -2840,6 +2819,43 @@ keyb_handler = plugin->keyboard_handler_add (plugin, &my_keyb); </itemizedlist> </para> <para> + List of events: + <informaltable colsep="0" frame="none"> + <tgroup cols="3"> + <thead> + <row> + <entry>Event</entry> + <entry>Description</entry> + <entry>Arguments</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>buffer_open</literal></entry> + <entry>a buffer was open</entry> + <entry> + argc = 1, argv = { buffer number } + </entry> + </row> + <row> + <entry><literal>buffer_close</literal></entry> + <entry>a buffer was closed</entry> + <entry> + argc = 1, argv = { buffer number } + </entry> + </row> + <row> + <entry><literal>buffer_move</literal></entry> + <entry>a buffer was moved</entry> + <entry> + argc = 2, argv = { new buffer number, old number } + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + <para> Return value: pointer to new event handler. </para> <para> |