summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVincent D <40196601+deakcor@users.noreply.github.com>2022-08-02 14:05:37 +0200
committerVincent D <40196601+deakcor@users.noreply.github.com>2023-07-17 23:47:27 +0200
commitc13e3a9fb00f2935d45e7c1fc877ae5db9ef3655 (patch)
tree7b19b847889debded6b6e2716bddd79a9d99ff33 /doc
parentef155c1aeb216fa5a732913b6f2dc321e4b512dc (diff)
downloadredot-engine-c13e3a9fb00f2935d45e7c1fc877ae5db9ef3655.tar.gz
add clipboard get image methods for windows and macos
Co-Authored-By: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/DisplayServer.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml
index b74dbdce54..0522400532 100644
--- a/doc/classes/DisplayServer.xml
+++ b/doc/classes/DisplayServer.xml
@@ -16,6 +16,12 @@
Returns the user's clipboard as a string if possible.
</description>
</method>
+ <method name="clipboard_get_image" qualifiers="const">
+ <return type="Image" />
+ <description>
+ Returns the user's clipboard as an image if possible.
+ </description>
+ </method>
<method name="clipboard_get_primary" qualifiers="const">
<return type="String" />
<description>
@@ -26,7 +32,13 @@
<method name="clipboard_has" qualifiers="const">
<return type="bool" />
<description>
- Returns [code]true[/code] if there is content on the user's clipboard.
+ Returns [code]true[/code] if there is a text content on the user's clipboard.
+ </description>
+ </method>
+ <method name="clipboard_has_image" qualifiers="const">
+ <return type="bool" />
+ <description>
+ Returns [code]true[/code] if there is an image content on the user's clipboard.
</description>
</method>
<method name="clipboard_set">