doc: add missing special values in function config_option_set for booleans/integers/colors (plugin API reference)
parent
8062ed6e75
commit
b9fdcb0193
|
@ -5844,7 +5844,13 @@ int weechat_config_option_set (struct t_config_option *option,
|
|||
Arguments:
|
||||
|
||||
* _option_: option pointer
|
||||
* _value_: new value for option
|
||||
* _value_: new value for option, special values are possible according to the
|
||||
type of option:
|
||||
** _boolean_:
|
||||
*** `toggle`: toggle the current value
|
||||
** _integer_ or _color_:
|
||||
*** `++N`: add `N` (any integer) to the current value
|
||||
*** `--N`: subtract `N` (any integer) from the current value
|
||||
* _run_callback_: 1 for calling change callback if value of option is changed,
|
||||
otherwise 0
|
||||
|
||||
|
|
|
@ -5941,7 +5941,13 @@ int weechat_config_option_set (struct t_config_option *option,
|
|||
Paramètres :
|
||||
|
||||
* _option_ : pointeur vers l'option
|
||||
* _value_ : nouvelle valeur pour l'option
|
||||
* _value_ : nouvelle valeur pour l'option, des valeurs spéciales sont possibles
|
||||
selon le type de l'option :
|
||||
** _boolean_ :
|
||||
*** `toggle` : basculer la valeur courante
|
||||
** _integer_ ou _color_ :
|
||||
*** `++N` : ajouter `N` (un entier) à la valeur courante
|
||||
*** `--N` : soustraire `N` (un entier) de la valeur courante
|
||||
* _run_callback_ : 1 pour appeler la fonction de rappel si la valeur de
|
||||
l'option est changée, sinon 0
|
||||
|
||||
|
|
|
@ -6034,7 +6034,19 @@ int weechat_config_option_set (struct t_config_option *option,
|
|||
Argomenti:
|
||||
|
||||
* _option_: puntatore all'opzione
|
||||
* _value_: nuovo valore per l'opzione
|
||||
// TRANSLATION MISSING
|
||||
* _value_: new value for option, special values are possible according to the
|
||||
type of option:
|
||||
// TRANSLATION MISSING
|
||||
** _boolean_:
|
||||
// TRANSLATION MISSING
|
||||
*** `toggle`: toggle the current value
|
||||
// TRANSLATION MISSING
|
||||
** _integer_ or _color_:
|
||||
// TRANSLATION MISSING
|
||||
*** `++N`: add `N` (any integer) to the current value
|
||||
// TRANSLATION MISSING
|
||||
*** `--N`: subtract `N` (any integer) from the current value
|
||||
* _run_callback_: 1 per la chiamata alla callback chang se il valore dell'opzione
|
||||
è cambiato, altrimenti 0
|
||||
|
||||
|
|
|
@ -5848,7 +5848,19 @@ int weechat_config_option_set (struct t_config_option *option,
|
|||
引数:
|
||||
|
||||
* _option_: オプションへのポインタ
|
||||
* _value_: オプションの新しい値
|
||||
// TRANSLATION MISSING
|
||||
* _value_: new value for option, special values are possible according to the
|
||||
type of option:
|
||||
// TRANSLATION MISSING
|
||||
** _boolean_:
|
||||
// TRANSLATION MISSING
|
||||
*** `toggle`: toggle the current value
|
||||
// TRANSLATION MISSING
|
||||
** _integer_ or _color_:
|
||||
// TRANSLATION MISSING
|
||||
*** `++N`: add `N` (any integer) to the current value
|
||||
// TRANSLATION MISSING
|
||||
*** `--N`: subtract `N` (any integer) from the current value
|
||||
* _run_callback_: オプションが変更された際に、_callback_change_ コールバックを呼び出す場合は
|
||||
1、呼び出さない場合は 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue