Skip to content

Commit

Permalink
Fix docs again
Browse files Browse the repository at this point in the history
  • Loading branch information
Setadokalo committed Dec 6, 2024
1 parent c51864d commit 44856c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/classes/DisplayServer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<param index="0" name="type" type="String" />
<param index="1" name="handler" type="Callable" />
<description>
Adds a handler to parse raw data from the clipboard into a Godot type for data with the MIME type [param type]. Type handlers must be registered for a MIME type before that type can be loaded using [method clipboard_get_type].
Adds a handler to parse raw data from the clipboard into a Godot type for data with the MIME type [param type]. Type handlers must be registered for a MIME type before that type can be loaded using [method clipboard_get_type].
</description>
</method>
<method name="clipboard_get" qualifiers="const">
Expand All @@ -49,7 +49,7 @@
<return type="Variant" />
<param index="0" name="type" type="String" />
<description>
Returns the user's clipboard data parsed as the MIME type [param type]. Requires a type handler to have been registered to handle that type with [method clipboard_add_type_handler].
Returns the user's clipboard data parsed as the MIME type [param type]. Requires a type handler to have been registered to handle that type with [method clipboard_add_type_handler].
</description>
</method>
<method name="clipboard_has" qualifiers="const">
Expand All @@ -68,21 +68,21 @@
<return type="bool" />
<param index="0" name="type" type="String" />
<description>
Returns [code]true[/code] if the user's clipboard data can be parsed as the MIME type [param type]. Requires a type handler to have been registered to handle that type with [method clipboard_add_type_handler].
Returns [code]true[/code] if the user's clipboard data can be parsed as the MIME type [param type]. Requires a type handler to have been registered to handle that type with [method clipboard_add_type_handler].
</description>
</method>
<method name="clipboard_has_type_handler" qualifiers="const">
<return type="bool" />
<param index="0" name="type" type="String" />
<description>
Returns [code]true[/code] if there is a type handler registered to load data from the clipboard with the MIME type [param type].
Returns [code]true[/code] if there is a type handler registered to load data from the clipboard with the MIME type [param type].
</description>
</method>
<method name="clipboard_remove_type_handler" qualifiers="const">
<return type="int" enum="Error" />
<param index="0" name="type" type="String" />
<description>
Removes a type handler from the clipboard. That MIME type will no longer be loadable from the clipboard unless a new handler is added with [method clipboard_add_type_handler].
Removes a type handler from the clipboard. That MIME type will no longer be loadable from the clipboard unless a new handler is added with [method clipboard_add_type_handler].
</description>
</method>
<method name="clipboard_set">
Expand Down

0 comments on commit 44856c2

Please sign in to comment.