Fix miscellaneous oddities around the class reference (part 6)

This commit is contained in:
Micky
2025-06-14 01:11:26 +02:00
committed by Micky
parent 9dd6c4dbac
commit be0c68845e
56 changed files with 117 additions and 117 deletions

View File

@@ -42,7 +42,7 @@
<return type="Variant" />
<param index="0" name="id" type="RID" />
<description>
Returns the metadata of the accessibility element.
Returns the metadata of the accessibility element [param id].
</description>
</method>
<method name="accessibility_element_set_meta">
@@ -50,14 +50,14 @@
<param index="0" name="id" type="RID" />
<param index="1" name="meta" type="Variant" />
<description>
Sets the metadata of the accessibility element.
Sets the metadata of the accessibility element [param id] to [param meta].
</description>
</method>
<method name="accessibility_free_element">
<return type="void" />
<param index="0" name="id" type="RID" />
<description>
Frees an object created by [method accessibility_create_element], [method accessibility_create_sub_element], or [method accessibility_create_sub_text_edit_elements].
Frees the accessibility element [param id] created by [method accessibility_create_element], [method accessibility_create_sub_element], or [method accessibility_create_sub_text_edit_elements].
</description>
</method>
<method name="accessibility_get_window_root" qualifiers="const">
@@ -870,7 +870,7 @@
<method name="get_primary_screen" qualifiers="const">
<return type="int" />
<description>
Returns index of the primary screen.
Returns the index of the primary screen.
[b]Note:[/b] This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns [code]0[/code].
</description>
</method>
@@ -1752,9 +1752,9 @@
<return type="Color" />
<param index="0" name="position" type="Vector2i" />
<description>
Returns color of the display pixel at the [param position].
[b]Note:[/b] This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns [Color].
[b]Note:[/b] On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will only contain the desktop wallpaper, the current application's window, and other related UI elements.
Returns the color of the pixel at the given screen [param position]. On multi-monitor setups, the screen position is relative to the virtual desktop area.
[b]Note:[/b] This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns [code]Color(0, 0, 0, 1)[/code].
[b]Note:[/b] On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a color from a screenshot that will not include other application windows or OS elements not related to the application.
</description>
</method>
<method name="screen_get_position" qualifiers="const">