diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 19:03:05 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 19:03:05 +0200 |
commit | ff83985ef4f4073f9430ee065b1d8982fb7c6318 (patch) | |
tree | 2b94f2cd1e36de9bb54a02153e1d30be8145bc21 /doc/de/dev | |
parent | 51af351c15c0277d0c6f060624b67b04e77710df (diff) | |
download | weechat-ff83985ef4f4073f9430ee065b1d8982fb7c6318.zip |
Add default template completion (by default: nick or IRC channel)
Diffstat (limited to 'doc/de/dev')
-rw-r--r-- | doc/de/dev/plugin_c_api.de.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/de/dev/plugin_c_api.de.xml b/doc/de/dev/plugin_c_api.de.xml index 2dbf4149a..669a13179 100644 --- a/doc/de/dev/plugin_c_api.de.xml +++ b/doc/de/dev/plugin_c_api.de.xml @@ -2040,7 +2040,8 @@ struct t_weelist *weechat_list_new (); struct t_weelist_item *weechat_list_add ( struct t_weelist *weelist, const char *data, - const char *where); + const char *where, + void *user_data); </programlisting> </para> <para> @@ -2066,6 +2067,11 @@ struct t_weelist_item *weechat_list_add ( WEECHAT_LIST_POS_END) </para> </listitem> + <listitem> + <para> + <option>user_data</option>: any pointer + </para> + </listitem> </itemizedlist> </para> <para> @@ -2073,7 +2079,7 @@ struct t_weelist_item *weechat_list_add ( </para> <para> Example: - <screen>weechat_list_add (list, "my data", WEECHAT_LIST_POS_SORT);</screen> + <screen>weechat_list_add (list, "my data", WEECHAT_LIST_POS_SORT, NULL);</screen> </para> </section> |