doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2020-05-11 13:23:39 +02:00
parent 39da96e4d6
commit bbdfc7353c
5 changed files with 48 additions and 27 deletions

View File

@ -77,9 +77,6 @@
<member name="ProjectSettings" type="ProjectSettings" setter="" getter=""> <member name="ProjectSettings" type="ProjectSettings" setter="" getter="">
The [ProjectSettings] singleton. The [ProjectSettings] singleton.
</member> </member>
<member name="RenderingDevice" type="RenderingDevice" setter="" getter="">
The [RenderingDevice] singleton.
</member>
<member name="RenderingServer" type="RenderingServer" setter="" getter=""> <member name="RenderingServer" type="RenderingServer" setter="" getter="">
The [RenderingServer] singleton. The [RenderingServer] singleton.
</member> </member>

View File

@ -242,6 +242,12 @@
Removes all items from the [PopupMenu]. Removes all items from the [PopupMenu].
</description> </description>
</method> </method>
<method name="get_current_index" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_item_accelerator" qualifiers="const"> <method name="get_item_accelerator" qualifiers="const">
<return type="int"> <return type="int">
</return> </return>

View File

@ -620,6 +620,19 @@
Returns [code]true[/code] if this string contains a valid IP address. Returns [code]true[/code] if this string contains a valid IP address.
</description> </description>
</method> </method>
<method name="join">
<return type="String">
</return>
<argument index="0" name="parts" type="PackedStringArray">
</argument>
<description>
Return a [String] which is the concatenation of the [code]parts[/code]. The separator between elements is the string providing this method.
Example:
[codeblock]
print(", ".join(["One", "Two", "Three", "Four"]))
[/codeblock]
</description>
</method>
<method name="json_escape"> <method name="json_escape">
<return type="String"> <return type="String">
</return> </return>
@ -837,19 +850,6 @@
Returns a copy of the string with characters removed from the right. Returns a copy of the string with characters removed from the right.
</description> </description>
</method> </method>
<method name="join">
<return type="String">
</return>
<argument index="0" name="parts" type="PackedStringArray">
</argument>
<description>
Return a [String] which is the concatenation of the [code]parts[/code]. The separator between elements is the string providing this method.
Example:
[codeblock]
print(", ".join(["One", "Two", "Three", "Four"]))
[/codeblock]
</description>
</method>
<method name="sha1_buffer"> <method name="sha1_buffer">
<return type="PackedByteArray"> <return type="PackedByteArray">
</return> </return>

View File

@ -343,17 +343,6 @@
Select all the text. Select all the text.
</description> </description>
</method> </method>
<method name="set_line_as_hidden">
<return type="void">
</return>
<argument index="0" name="line" type="int">
</argument>
<argument index="1" name="enable" type="bool">
</argument>
<description>
If [code]true[/code], hides the line of the specified index.
</description>
</method>
<method name="set_line"> <method name="set_line">
<return type="void"> <return type="void">
</return> </return>
@ -365,6 +354,17 @@
Sets the text for a specific line. Sets the text for a specific line.
</description> </description>
</method> </method>
<method name="set_line_as_hidden">
<return type="void">
</return>
<argument index="0" name="line" type="int">
</argument>
<argument index="1" name="enable" type="bool">
</argument>
<description>
If [code]true[/code], hides the line of the specified index.
</description>
</method>
<method name="toggle_fold_line"> <method name="toggle_fold_line">
<return type="void"> <return type="void">
</return> </return>

View File

@ -249,6 +249,14 @@
<description> <description>
</description> </description>
</method> </method>
<method name="get_suffix" qualifiers="const">
<return type="String">
</return>
<argument index="0" name="column" type="int">
</argument>
<description>
</description>
</method>
<method name="get_text" qualifiers="const"> <method name="get_text" qualifiers="const">
<return type="String"> <return type="String">
</return> </return>
@ -572,6 +580,16 @@
If [code]true[/code], the given column is selectable. If [code]true[/code], the given column is selectable.
</description> </description>
</method> </method>
<method name="set_suffix">
<return type="void">
</return>
<argument index="0" name="column" type="int">
</argument>
<argument index="1" name="text" type="String">
</argument>
<description>
</description>
</method>
<method name="set_text"> <method name="set_text">
<return type="void"> <return type="void">
</return> </return>