summaryrefslogtreecommitdiff
path: root/doc/it/weechat_scripting.it.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it/weechat_scripting.it.adoc')
-rw-r--r--doc/it/weechat_scripting.it.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc
index b9e64a56f..21d8f5795 100644
--- a/doc/it/weechat_scripting.it.adoc
+++ b/doc/it/weechat_scripting.it.adoc
@@ -173,6 +173,17 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----
+// TRANSLATION MISSING
+And the function `+Weechat.bar_new+` receives the colors in an array of 4 strings
+(color_fg, color_delim, color_bg, color_bg_inactive), so a call to this function
+looks like:
+
+[source,ruby]
+----
+Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical", "0", "0",
+ ["default", "default", "default", "default"], "0", "items")
+----
+
==== Lua
// TRANSLATION MISSING