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:
@@ -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 ]============================ -->
|
||||
|
||||
Reference in New Issue
Block a user