doc: add Python prototype for function window_get_string (plugin API reference)

This commit is contained in:
Sébastien Helleu 2019-07-11 20:51:22 +02:00
parent 6461aefcae
commit c463b84421
4 changed files with 32 additions and 0 deletions

View File

@ -13086,6 +13086,14 @@ Return value:
* string value of property * string value of property
Script (Python):
[source,python]
----
# prototype
value = weechat.window_get_string(window, property)
----
==== window_get_pointer ==== window_get_pointer
Return pointer value of a window property. Return pointer value of a window property.

View File

@ -13381,6 +13381,14 @@ Valeur de retour :
* valeur de la propriété, sous forme de chaîne * valeur de la propriété, sous forme de chaîne
Script (Python) :
[source,python]
----
# prototype
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer ==== window_get_pointer
Retourner la valeur d'une propriété, sous forme d'un pointeur. Retourner la valeur d'une propriété, sous forme d'un pointeur.

View File

@ -13635,6 +13635,14 @@ Valore restituito:
* valore stringa della proprietà * valore stringa della proprietà
Script (Python):
[source,python]
----
# prototipo
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer ==== window_get_pointer
Restituisce il valore puntatore della proprietà di una finestra. Restituisce il valore puntatore della proprietà di una finestra.

View File

@ -13047,6 +13047,14 @@ const char *weechat_window_get_string (struct t_gui_window *window,
* プロパティの文字列値 * プロパティの文字列値
スクリプト (Python) での使用例:
[source,python]
----
# プロトタイプ
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer ==== window_get_pointer
ウィンドウプロパティのポインタ値を返す。 ウィンドウプロパティのポインタ値を返す。