mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
doc: fix typo in examples for function bar_new (plugin API reference)
This commit is contained in:
@@ -11899,7 +11899,7 @@ C example:
|
||||
----------------------------------------
|
||||
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
|
||||
"off",
|
||||
100,
|
||||
"100",
|
||||
"window",
|
||||
"",
|
||||
"top",
|
||||
@@ -11924,7 +11924,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
|
||||
color_fg, color_delim, color_bg, separator, items)
|
||||
|
||||
# example
|
||||
bar = weechat.bar_new("mybar", "off", 100, "window", "", "top", "horizontal", "vertical",
|
||||
bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", "vertical",
|
||||
"0", "5", "default", "cyan", "blue", "off", "time,buffer_number+buffer_name")
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -12104,7 +12104,7 @@ Exemple en C :
|
||||
----------------------------------------
|
||||
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
|
||||
"off",
|
||||
100,
|
||||
"100",
|
||||
"window",
|
||||
"",
|
||||
"top",
|
||||
@@ -12129,7 +12129,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
|
||||
color_fg, color_delim, color_bg, separator, items)
|
||||
|
||||
# exemple
|
||||
bar = weechat.bar_new("mybar", "off", 100, "window", "", "top", "horizontal", "vertical",
|
||||
bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", "vertical",
|
||||
"0", "5", "default", "cyan", "blue", "off", "time,buffer_number+buffer_name")
|
||||
----------------------------------------
|
||||
|
||||
|
||||
@@ -12077,7 +12077,7 @@ Esempio in C:
|
||||
----------------------------------------
|
||||
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
|
||||
"off",
|
||||
100,
|
||||
"100",
|
||||
"window",
|
||||
"",
|
||||
"top",
|
||||
@@ -12102,7 +12102,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
|
||||
color_fg, color_delim, color_bg, separator, items)
|
||||
|
||||
# esempio
|
||||
bar = weechat.bar_new("mybar", "off", 100, "window", "", "top", "horizontal", "vertical",
|
||||
bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", "vertical",
|
||||
"0", "5", "default", "cyan", "blue", "off", "time,buffer_number+buffer_name")
|
||||
----------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user