aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/en/weechat_plugin_api.en.adoc8
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc8
-rw-r--r--doc/it/weechat_plugin_api.it.adoc8
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc8
4 files changed, 32 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index f3266d5c7..7598f3784 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -13086,6 +13086,14 @@ Return value:
* string value of property
+Script (Python):
+
+[source,python]
+----
+# prototype
+value = weechat.window_get_string(window, property)
+----
+
==== window_get_pointer
Return pointer value of a window property.
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 7d0414365..287d68be2 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -13381,6 +13381,14 @@ Valeur de retour :
* 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
Retourner la valeur d'une propriété, sous forme d'un pointeur.
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index d0ac617e9..80c500f5b 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -13635,6 +13635,14 @@ Valore restituito:
* valore stringa della proprietà
+Script (Python):
+
+[source,python]
+----
+# prototipo
+value = weechat.window_get_string(buffer, property)
+----
+
==== window_get_pointer
Restituisce il valore puntatore della proprietà di una finestra.
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index 0c6312281..a41afe010 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -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
ウィンドウプロパティのポインタ値を返す。