doc: fix typo in examples for function bar_new (plugin API reference)
parent
43e3ff3b1a
commit
b94a1ce59b
|
@ -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")
|
||||
----------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue