diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-19 21:04:52 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-19 23:44:20 +0800 |
commit | 314f309035c9d50b41720e02550f31f89751fce0 (patch) | |
tree | b1b75a65c452c33218cacde385514791bbe03e03 /doc | |
parent | 8b8e858778bbf9e0dad66335f351920332c547de (diff) |
Add `DisplayServer.clipboard_has()` to check clipboard content
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/DisplayServer.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index c527922cd5..6e06bf454c 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -20,6 +20,12 @@ [b]Note:[/b] This method is only implemented on Linux. </description> </method> + <method name="clipboard_has" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if there is content on the user's clipboard. + </description> + </method> <method name="clipboard_set"> <return type="void" /> <argument index="0" name="clipboard" type="String" /> |