1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

Add function window_set_title in API (task #9361)

This commit is contained in:
Sebastien Helleu
2009-05-10 01:22:08 +02:00
parent 09c42f4cf0
commit 57c6478b91
18 changed files with 353 additions and 96 deletions
+30
View File
@@ -8294,6 +8294,36 @@ weechat_printf (NULL, "current window pointer is: %lx, buffer displayed is: %lx"
</para>
</section>
<section id="secPluginCApi_weechat_window_set_title">
<title>weechat_window_set_title</title>
<para>
Prototype:
<programlisting>
void weechat_window_set_title (const char *title);
</programlisting>
</para>
<para>
Set title for window (terminal for Curses interface).
</para>
<para>
Arguments:
<itemizedlist>
<listitem>
<para>
<option>title</option>: new title (if empty, then title is reset)
</para>
</listitem>
</itemizedlist>
</para>
<para>
Example:
<screen>
weechat_window_set_title ("new title");
</screen>
</para>
</section>
</section>
<!-- ============================[ nicklist ]============================ -->