summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-07-11 20:51:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-07-11 20:51:52 +0200
commitc463b84421cc2f82a71a38660f77ffdc36b173d5 (patch)
treed91390df7390434580c5e964f878e4d82d1f8110 /doc/ja
parent6461aefcaec09eaeab831dc757bb90ad429c29e8 (diff)
downloadweechat-c463b84421cc2f82a71a38660f77ffdc36b173d5.zip
doc: add Python prototype for function window_get_string (plugin API reference)
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc8
1 files changed, 8 insertions, 0 deletions
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
ウィンドウプロパティのポインタ値を返す。