From 13ddcc3adc9ac48a00cd7aeb8f4bd5eea24126d8 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 20 Feb 2006 21:55:51 +0000 Subject: Added infobar_remove in C plugin API --- doc/en/weechat.en.xml | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'doc/en') diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml index b807d35e9..b4a3e4b7c 100644 --- a/doc/en/weechat.en.xml +++ b/doc/en/weechat.en.xml @@ -1629,6 +1629,42 @@ plugin->print_infobar (plugin, 5, "hello"); +
+ infobar_remove + + + Prototype: + + void infobar_remove (t_weechat_plugin *plugin, int count) + + + + Remove one or more messages in infobar stack. + + + Arguments: + + + + : pointer to plugin structure + + + + + : number of messages to remove + (if argument is <= 0, then all messages are removed) + + + + + + Return value: none. + + + Example: plugin->infobar_remove (1); + +
+
log @@ -3770,19 +3806,15 @@ weechat.print_infobar(5, "message") # perl weechat::remove_infobar(1); -weechat::remove_infobar(); # python weechat.remove_infobar(1) -weechat.remove_infobar() # ruby Weechat.remove_infobar(1) -Weechat.remove_infobar() -- lua weechat.remove_infobar(1) -weechat.remove_infobar()
-- cgit v1.2.3