doc: fix description of arguments in some "set" functions (plugin API reference)
parent
45ae0c1d67
commit
8cba1e10c0
|
@ -3581,10 +3581,11 @@ void weechat_hashtable_set_pointer (struct t_hashtable *hashtable,
|
|||
Arguments:
|
||||
|
||||
* 'hashtable': hashtable pointer
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name:
|
||||
** 'callback_free_key': set callback function used to free keys in hashtable
|
||||
_(WeeChat ≥ 0.4.2)_
|
||||
** 'callback_free_value': set callback function used to free values in hashtable
|
||||
* 'pointer': new pointer value for property
|
||||
|
||||
C example:
|
||||
|
||||
|
@ -9438,7 +9439,10 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
|
|||
Arguments:
|
||||
|
||||
* 'hook': something hooked with "weechat_hook_xxx()"
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name (see table below)
|
||||
* 'value': new value for property
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10077,7 +10081,10 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
|
|||
Arguments:
|
||||
|
||||
* 'buffer': buffer pointer
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name (see table below)
|
||||
* 'value': new value for property
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10267,7 +10274,7 @@ void weechat_buffer_set_pointer (struct t_gui_buffer *buffer, const char *proper
|
|||
Arguments:
|
||||
|
||||
* 'buffer': buffer pointer
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name:
|
||||
** 'close_callback': set close callback function
|
||||
** 'close_callback_data': set close callback data
|
||||
** 'input_callback': set input callback function
|
||||
|
@ -10276,6 +10283,7 @@ Arguments:
|
|||
called when searching nick in nicklist) _(WeeChat ≥ 0.3.9)_
|
||||
** 'nickcmp_callback_data': set nick comparison callback data
|
||||
_(WeeChat ≥ 0.3.9)_
|
||||
* 'pointer': new pointer value for property
|
||||
|
||||
Prototypes for callbacks:
|
||||
|
||||
|
@ -11184,7 +11192,10 @@ Arguments:
|
|||
|
||||
* 'buffer': buffer pointer
|
||||
* 'group': group pointer
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name (see table below)
|
||||
* 'value': new value for property
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -11386,7 +11397,10 @@ Arguments:
|
|||
|
||||
* 'buffer': buffer pointer
|
||||
* 'nick': nick pointer
|
||||
* 'property' and 'value': property name, with its value:
|
||||
* 'property': property name (see table below)
|
||||
* 'value': new value for property
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
|
|
@ -3625,11 +3625,12 @@ void weechat_hashtable_set_pointer (struct t_hashtable *hashtable,
|
|||
Paramètres :
|
||||
|
||||
* 'hashtable' : pointeur vers la hashtable
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété :
|
||||
** 'callback_free_key' : définit la fonction "callback" pour libérer les clés de
|
||||
la hashtable _(WeeChat ≥ 0.4.2)_
|
||||
** 'callback_free_value' : définit la fonction "callback" pour libérer les
|
||||
valeurs de la hashtable
|
||||
* 'pointer' : nouvelle valeur de pointeur pour la propriété
|
||||
|
||||
Exemple en C :
|
||||
|
||||
|
@ -9605,7 +9606,10 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
|
|||
Paramètres :
|
||||
|
||||
* 'hook' : quelque chose d'accroché avec "weechat_hook_xxx()"
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété (voir le tableau ci-dessous)
|
||||
* 'value' : nouvelle valeur pour la propriété
|
||||
|
||||
Propriétés :
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10252,7 +10256,10 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
|
|||
Paramètres :
|
||||
|
||||
* 'buffer' : pointeur vers le tampon
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété (voir le tableau ci-dessous)
|
||||
* 'value' : nouvelle valeur pour la propriété
|
||||
|
||||
Propriétés :
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10452,7 +10459,7 @@ void weechat_buffer_set_pointer (struct t_gui_buffer *buffer, const char *proper
|
|||
Paramètres :
|
||||
|
||||
* 'buffer' : pointeur vers le tampon
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété :
|
||||
** 'close_callback' : définit la fonction "callback" de fermeture du tampon
|
||||
** 'close_callback_data' : définit les données pour le "callback" de fermeture
|
||||
du tampon
|
||||
|
@ -10465,6 +10472,7 @@ Paramètres :
|
|||
pseudos) _(WeeChat ≥ 0.3.9)_
|
||||
** 'nickcmp_callback_data': définit les données pour le "callback" de
|
||||
comparaison de pseudos _(WeeChat ≥ 0.3.9)_
|
||||
* 'pointer' : nouvelle valeur de pointeur pour la propriété
|
||||
|
||||
Prototypes pour les "callbacks" :
|
||||
|
||||
|
@ -11386,7 +11394,10 @@ Paramètres :
|
|||
|
||||
* 'buffer' : pointeur vers le tampon
|
||||
* 'group' : pointeur vers le groupe
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété (voir le tableau ci-dessous)
|
||||
* 'value' : nouvelle valeur pour la propriété
|
||||
|
||||
Propriétés :
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -11588,7 +11599,10 @@ Paramètres :
|
|||
|
||||
* 'buffer' : pointeur vers le tampon
|
||||
* 'nick' : pointeur vers le pseudo
|
||||
* 'property' et 'value' : nom de la propriété, avec sa valeur :
|
||||
* 'property' : nom de la propriété (voir le tableau ci-dessous)
|
||||
* 'value' : nouvelle valeur pour la propriété
|
||||
|
||||
Propriétés :
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
|
|
@ -3590,12 +3590,14 @@ void weechat_hashtable_set_pointer (struct t_hashtable *hashtable,
|
|||
Argomenti:
|
||||
|
||||
* 'hashtable': puntatore alla tabella hash
|
||||
* 'property' e 'value': nome della proprietà, con il proprio valore:
|
||||
* 'property': nome della proprietà:
|
||||
// TRANSLATION MISSING
|
||||
** 'callback_free_key': set callback function used to free keys in hashtable
|
||||
_(WeeChat ≥ 0.4.2)_
|
||||
** 'callback_free_value': imposta la funzione callback usata per
|
||||
liberare i valori nella tabella hash
|
||||
// TRANSLATION MISSING
|
||||
* 'pointer': new pointer value for property
|
||||
|
||||
Esempio in C:
|
||||
|
||||
|
@ -9588,7 +9590,13 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
|
|||
Argomenti:
|
||||
|
||||
* 'hook': qualcosa su cui è presente un hook con "weechat_hook_xxx()"
|
||||
* 'property' e 'value': nome della proprietà, con il proprio valore:
|
||||
// TRANSLATION MISSING
|
||||
* 'property': nome della proprietà (see table below)
|
||||
// TRANSLATION MISSING
|
||||
* 'value': new value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10240,7 +10248,13 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
|
|||
Argomenti:
|
||||
|
||||
* 'buffer': puntatore al buffer
|
||||
* 'property' e 'value': nome della proprietà, con il proprio valore:
|
||||
// TRANSLATION MISSING
|
||||
* 'property': nome della proprietà (see table below)
|
||||
// TRANSLATION MISSING
|
||||
* 'value': new value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -10445,7 +10459,7 @@ void weechat_buffer_set_pointer (struct t_gui_buffer *buffer, const char *proper
|
|||
Argomenti:
|
||||
|
||||
* 'buffer': puntatore al buffer
|
||||
* 'property' e 'value': nome della proprietà, con il proprio valore:
|
||||
* 'property': nome della proprietà:
|
||||
** 'close_callback': set close callback function
|
||||
** 'close_callback_data': set close callback data
|
||||
** 'input_callback': set input callback function
|
||||
|
@ -10456,6 +10470,8 @@ Argomenti:
|
|||
// TRANSLATION MISSING
|
||||
** 'nickcmp_callback_data': set nick comparison callback data
|
||||
_(WeeChat ≥ 0.3.9)_
|
||||
// TRANSLATION MISSING
|
||||
* 'pointer': new pointer value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Prototypes for callbacks:
|
||||
|
@ -11371,7 +11387,13 @@ Argomenti:
|
|||
|
||||
* 'buffer': puntatore al buffer
|
||||
* 'group': puntatore al gruppo
|
||||
* 'property' e 'value': nome della proprietà, con il suo valore:
|
||||
// TRANSLATION MISSING
|
||||
* 'property': nome della proprietà (see table below)
|
||||
// TRANSLATION MISSING
|
||||
* 'value': new value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
@ -11573,7 +11595,13 @@ Argomenti:
|
|||
|
||||
* 'buffer': puntatore al buffer
|
||||
* 'nick': puntatore al nick
|
||||
* 'property' and 'value': nome della proprietà, con il suo valore:
|
||||
// TRANSLATION MISSING
|
||||
* 'property': nome della proprietà (see table below)
|
||||
// TRANSLATION MISSING
|
||||
* 'value': new value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,4,8",options="header"]
|
||||
|===
|
||||
|
|
Loading…
Reference in New Issue