Add missing descriptions to remaining signals.

This commit is contained in:
Micky 2024-01-10 17:31:17 +01:00
parent 3524346689
commit 8f10d7dd19
2 changed files with 15 additions and 7 deletions

View file

@ -301,7 +301,7 @@
<signals>
<signal name="begin_node_move">
<description>
Emitted at the beginning of a GraphNode movement.
Emitted at the beginning of a [GraphElement]'s movement.
</description>
</signal>
<signal name="connection_drag_ended">
@ -344,13 +344,14 @@
</signal>
<signal name="copy_nodes_request">
<description>
Emitted when the user presses [kbd]Ctrl + C[/kbd].
Emitted when this [GraphEdit] captures a [code]ui_copy[/code] action ([kbd]Ctrl + C[/kbd] by default). In general, this signal indicates that the selected [GraphElement]s should be copied.
</description>
</signal>
<signal name="delete_nodes_request">
<param index="0" name="nodes" type="StringName[]" />
<description>
Emitted when attempting to remove a GraphNode from the GraphEdit. Provides a list of node names to be removed (all selected nodes, excluding nodes without closing button).
Emitted when this [GraphEdit] captures a [code]ui_graph_delete[/code] action ([kbd]Delete[/kbd] by default).
[param nodes] is an array of node names that should be removed. These usually include all selected nodes.
</description>
</signal>
<signal name="disconnection_request">
@ -364,28 +365,29 @@
</signal>
<signal name="duplicate_nodes_request">
<description>
Emitted when a GraphNode is attempted to be duplicated in the GraphEdit.
Emitted when this [GraphEdit] captures a [code]ui_graph_duplicate[/code] action ([kbd]Ctrl + D[/kbd] by default). In general, this signal indicates that the selected [GraphElement]s should be duplicated.
</description>
</signal>
<signal name="end_node_move">
<description>
Emitted at the end of a GraphNode movement.
Emitted at the end of a [GraphElement]'s movement.
</description>
</signal>
<signal name="node_deselected">
<param index="0" name="node" type="Node" />
<description>
Emitted when the given [GraphElement] node is deselected.
</description>
</signal>
<signal name="node_selected">
<param index="0" name="node" type="Node" />
<description>
Emitted when a GraphNode is selected.
Emitted when the given [GraphElement] node is selected.
</description>
</signal>
<signal name="paste_nodes_request">
<description>
Emitted when the user presses [kbd]Ctrl + V[/kbd].
Emitted when this [GraphEdit] captures a [code]ui_paste[/code] action ([kbd]Ctrl + V[/kbd] by default). In general, this signal indicates that previously copied [GraphElement]s should be pasted.
</description>
</signal>
<signal name="popup_request">