Docs update for several classes

Namely: Dictionary, GraphEdit, Object, TileMap, Script, ScollBar,
ScrollContainer and SplitContainer

(cherry picked from commit 0dd526e062)
This commit is contained in:
Craigory V Coppola 2018-04-17 10:18:57 -04:00 committed by Hein-Pieter van Braam
parent b5ecdd8ce8
commit a1fd60f7d2
8 changed files with 20 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<return type="Dictionary"> <return type="Dictionary">
</return> </return>
<description> <description>
Creates a copy of the dictionary, and returns it.
</description> </description>
</method> </method>
<method name="empty"> <method name="empty">

View File

@ -228,6 +228,7 @@
<argument index="0" name="node" type="Object"> <argument index="0" name="node" type="Object">
</argument> </argument>
<description> <description>
Emitted when a GraphNode is selected.
</description> </description>
</signal> </signal>
<signal name="popup_request"> <signal name="popup_request">

View File

@ -398,6 +398,7 @@
<signals> <signals>
<signal name="script_changed"> <signal name="script_changed">
<description> <description>
Emitted whenever the script of the Object is changed.
</description> </description>
</signal> </signal>
</signals> </signals>

View File

@ -24,6 +24,7 @@
<return type="Script"> <return type="Script">
</return> </return>
<description> <description>
Returns the script directly inherited by this script.
</description> </description>
</method> </method>
<method name="get_instance_base_type" qualifiers="const"> <method name="get_instance_base_type" qualifiers="const">

View File

@ -19,6 +19,7 @@
<signals> <signals>
<signal name="scrolling"> <signal name="scrolling">
<description> <description>
Emitted whenever the scrollbar is being scrolled.
</description> </description>
</signal> </signal>
</signals> </signals>

View File

@ -26,6 +26,18 @@
If [code]true[/code], enables vertical scrolling. If [code]true[/code], enables vertical scrolling.
</member> </member>
</members> </members>
<signals>
<signal name="scroll_ended">
<description>
Emitted whenever scrolling stops.
</description>
</signal>
<signal name="scroll_started">
<description>
Emitted whenever scrolling is started.
</description>
</signal>
</signals>
<constants> <constants>
</constants> </constants>
</class> </class>

View File

@ -16,6 +16,7 @@
<member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed"> <member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed">
</member> </member>
<member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" enum="SplitContainer.DraggerVisibility"> <member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" enum="SplitContainer.DraggerVisibility">
Determines whether the dragger is visible.
</member> </member>
<member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset"> <member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset">
</member> </member>

View File

@ -171,6 +171,7 @@
<argument index="1" name="value" type="bool"> <argument index="1" name="value" type="bool">
</argument> </argument>
<description> <description>
Set any collision layer to be [code]true[/code] or [code]false[/code].
</description> </description>
</method> </method>
<method name="set_collision_mask_bit"> <method name="set_collision_mask_bit">
@ -296,6 +297,7 @@
Tile origin at its center. Tile origin at its center.
</constant> </constant>
<constant name="TILE_ORIGIN_BOTTOM_LEFT" value="2" enum="TileOrigin"> <constant name="TILE_ORIGIN_BOTTOM_LEFT" value="2" enum="TileOrigin">
Tile origin at its bottom-left corner.
</constant> </constant>
</constants> </constants>
</class> </class>