You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Add OS.has_clipboard() to check clipboard content
This commit is contained in:
@@ -601,6 +601,12 @@
|
||||
[b]Note:[/b] This method is implemented on macOS.
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_clipboard" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if there is content on the clipboard.
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_environment" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="variable" type="String" />
|
||||
|
||||
Reference in New Issue
Block a user