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 ++++++++++++++++++++++++++++++++---- doc/fr/weechat.fr.xml | 47 ++++++++++++++++++++++++++++++++++++++----- weechat/doc/en/weechat.en.xml | 40 ++++++++++++++++++++++++++++++++---- weechat/doc/fr/weechat.fr.xml | 47 ++++++++++++++++++++++++++++++++++++++----- 4 files changed, 156 insertions(+), 18 deletions(-) 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()
diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml index 816ca7213..024da24b0 100644 --- a/doc/fr/weechat.fr.xml +++ b/doc/fr/weechat.fr.xml @@ -1653,7 +1653,48 @@ plugin->print (plugin, "freenode", "#weechat", "hello"); Valeur renvoyée : aucune. - Exemple : plugin->print_infobar (plugin, 5, "hello"); + Exemple : + +plugin->print_infobar (plugin, 5, "hello"); + + + + +
+ infobar_remove + + + Prototype : + + void infobar_remove (t_weechat_plugin *plugin, int nombre) + + + + Efface un ou plusieurs messages dans la pile de la barre d'infos. + + + Paramètres : + + + + : pointeur vers la structure + de l'extension + + + + + : nombre de messages à supprimer + (si paramètre non présent ou <= 0, alors tous les messages + sont effacés) + + + + + + Valeur renvoyée : aucune. + + + Exemple : plugin->infobar_remove (1);
@@ -3840,19 +3881,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() diff --git a/weechat/doc/en/weechat.en.xml b/weechat/doc/en/weechat.en.xml index b807d35e9..b4a3e4b7c 100644 --- a/weechat/doc/en/weechat.en.xml +++ b/weechat/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()
diff --git a/weechat/doc/fr/weechat.fr.xml b/weechat/doc/fr/weechat.fr.xml index 816ca7213..024da24b0 100644 --- a/weechat/doc/fr/weechat.fr.xml +++ b/weechat/doc/fr/weechat.fr.xml @@ -1653,7 +1653,48 @@ plugin->print (plugin, "freenode", "#weechat", "hello"); Valeur renvoyée : aucune. - Exemple : plugin->print_infobar (plugin, 5, "hello"); + Exemple : + +plugin->print_infobar (plugin, 5, "hello"); + + + + +
+ infobar_remove + + + Prototype : + + void infobar_remove (t_weechat_plugin *plugin, int nombre) + + + + Efface un ou plusieurs messages dans la pile de la barre d'infos. + + + Paramètres : + + + + : pointeur vers la structure + de l'extension + + + + + : nombre de messages à supprimer + (si paramètre non présent ou <= 0, alors tous les messages + sont effacés) + + + + + + Valeur renvoyée : aucune. + + + Exemple : plugin->infobar_remove (1);
@@ -3840,19 +3881,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