mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
Remove infobar in doc
This commit is contained in:
@@ -483,136 +483,6 @@ weechat.print_server("message")
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id="secScript_print_infobar">
|
||||
<title>print_infobar</title>
|
||||
|
||||
<para>
|
||||
Perl prototype:
|
||||
<command>
|
||||
weechat::print_infobar(time, message);
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Python prototype:
|
||||
<command>
|
||||
weechat.print_infobar(time, message)
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Ruby prototype:
|
||||
<command>
|
||||
Weechat.print_infobar(time, message)
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Lua prototype:
|
||||
<command>
|
||||
weechat.print_infobar(time, message)
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Display a message in infobar for a specified time.
|
||||
</para>
|
||||
<para>
|
||||
Arguments:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<option>time</option>: time (in seconds) for displaying
|
||||
message (0 = never erased)
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<option>message</option>: message
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
Return value: 1 if success, 0 if an error occurred.
|
||||
</para>
|
||||
<para>
|
||||
Examples:
|
||||
<screen>
|
||||
# perl
|
||||
weechat::print_infobar(5, "message");
|
||||
|
||||
# python
|
||||
weechat.print_infobar(5, "message")
|
||||
|
||||
# ruby
|
||||
Weechat.print_infobar(5, "message")
|
||||
|
||||
-- lua
|
||||
weechat.print_infobar(5, "message")
|
||||
</screen>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id="secScript_remove_infobar">
|
||||
<title>remove_infobar</title>
|
||||
|
||||
<para>
|
||||
Perl prototype:
|
||||
<command>
|
||||
weechat::remove_infobar([count]);
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Python prototype:
|
||||
<command>
|
||||
weechat.remove_infobar([count])
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Ruby prototype:
|
||||
<command>
|
||||
Weechat.remove_infobar([count])
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Lua prototype:
|
||||
<command>
|
||||
weechat.remove_infobar([count])
|
||||
</command>
|
||||
</para>
|
||||
<para>
|
||||
Remove one or more messages in infobar stack.
|
||||
</para>
|
||||
<para>
|
||||
Arguments:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<option>count</option>: number of messages to remove
|
||||
(if argument not given or <= 0, then all messages are
|
||||
removed)
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
Return value: 1 if success, 0 if an error occurred.
|
||||
</para>
|
||||
<para>
|
||||
Examples:
|
||||
<screen>
|
||||
# perl
|
||||
weechat::remove_infobar(1);
|
||||
|
||||
# python
|
||||
weechat.remove_infobar(1)
|
||||
|
||||
# ruby
|
||||
Weechat.remove_infobar(1)
|
||||
|
||||
-- lua
|
||||
weechat.remove_infobar(1)
|
||||
</screen>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id="secScript_log">
|
||||
<title>log</title>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user