Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-10-29 12:48:46 +01:00
parent bbc6682099
commit a72184300f
449 changed files with 14004 additions and 232 deletions

View File

@@ -128,24 +128,32 @@ Signals
Signal sent on closing the GraphNode.
----
.. _class_GraphNode_signal_dragged:
- **dragged** **(** :ref:`Vector2<class_Vector2>` from, :ref:`Vector2<class_Vector2>` to **)**
Signal sent when the GraphNode is dragged.
----
.. _class_GraphNode_signal_offset_changed:
- **offset_changed** **(** **)**
Signal sent when the GraphNode is moved.
----
.. _class_GraphNode_signal_raise_request:
- **raise_request** **(** **)**
Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode.
----
.. _class_GraphNode_signal_resize_request:
- **resize_request** **(** :ref:`Vector2<class_Vector2>` new_minsize **)**
@@ -191,6 +199,8 @@ Property Descriptions
If ``true``, the GraphNode is a comment node.
----
.. _class_GraphNode_property_offset:
- :ref:`Vector2<class_Vector2>` **offset**
@@ -207,6 +217,8 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
**Note:** You cannot use position directly, as :ref:`GraphEdit<class_GraphEdit>` is a :ref:`Container<class_Container>`.
----
.. _class_GraphNode_property_overlay:
- :ref:`Overlay<enum_GraphNode_Overlay>` **overlay**
@@ -219,6 +231,8 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
| *Getter* | get_overlay() |
+-----------+--------------------+
----
.. _class_GraphNode_property_resizable:
- :ref:`bool<class_bool>` **resizable**
@@ -231,6 +245,8 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
| *Getter* | is_resizable() |
+-----------+----------------------+
----
.. _class_GraphNode_property_selected:
- :ref:`bool<class_bool>` **selected**
@@ -243,6 +259,8 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
| *Getter* | is_selected() |
+-----------+---------------------+
----
.. _class_GraphNode_property_show_close:
- :ref:`bool<class_bool>` **show_close**
@@ -255,6 +273,8 @@ The offset of the GraphNode, relative to the scroll offset of the :ref:`GraphEdi
| *Getter* | is_close_button_visible() |
+-----------+------------------------------+
----
.. _class_GraphNode_property_title:
- :ref:`String<class_String>` **title**
@@ -276,96 +296,128 @@ Method Descriptions
Disables all input and output slots of the GraphNode.
----
.. _class_GraphNode_method_clear_slot:
- void **clear_slot** **(** :ref:`int<class_int>` idx **)**
Disables input and output slot whose index is ``idx``.
----
.. _class_GraphNode_method_get_connection_input_color:
- :ref:`Color<class_Color>` **get_connection_input_color** **(** :ref:`int<class_int>` idx **)**
Returns the color of the input connection ``idx``.
----
.. _class_GraphNode_method_get_connection_input_count:
- :ref:`int<class_int>` **get_connection_input_count** **(** **)**
Returns the number of enabled input slots (connections) to the GraphNode.
----
.. _class_GraphNode_method_get_connection_input_position:
- :ref:`Vector2<class_Vector2>` **get_connection_input_position** **(** :ref:`int<class_int>` idx **)**
Returns the position of the input connection ``idx``.
----
.. _class_GraphNode_method_get_connection_input_type:
- :ref:`int<class_int>` **get_connection_input_type** **(** :ref:`int<class_int>` idx **)**
Returns the type of the input connection ``idx``.
----
.. _class_GraphNode_method_get_connection_output_color:
- :ref:`Color<class_Color>` **get_connection_output_color** **(** :ref:`int<class_int>` idx **)**
Returns the color of the output connection ``idx``.
----
.. _class_GraphNode_method_get_connection_output_count:
- :ref:`int<class_int>` **get_connection_output_count** **(** **)**
Returns the number of enabled output slots (connections) of the GraphNode.
----
.. _class_GraphNode_method_get_connection_output_position:
- :ref:`Vector2<class_Vector2>` **get_connection_output_position** **(** :ref:`int<class_int>` idx **)**
Returns the position of the output connection ``idx``.
----
.. _class_GraphNode_method_get_connection_output_type:
- :ref:`int<class_int>` **get_connection_output_type** **(** :ref:`int<class_int>` idx **)**
Returns the type of the output connection ``idx``.
----
.. _class_GraphNode_method_get_slot_color_left:
- :ref:`Color<class_Color>` **get_slot_color_left** **(** :ref:`int<class_int>` idx **)** const
Returns the color set to ``idx`` left (input) slot.
----
.. _class_GraphNode_method_get_slot_color_right:
- :ref:`Color<class_Color>` **get_slot_color_right** **(** :ref:`int<class_int>` idx **)** const
Returns the color set to ``idx`` right (output) slot.
----
.. _class_GraphNode_method_get_slot_type_left:
- :ref:`int<class_int>` **get_slot_type_left** **(** :ref:`int<class_int>` idx **)** const
Returns the (integer) type of left (input) ``idx`` slot.
----
.. _class_GraphNode_method_get_slot_type_right:
- :ref:`int<class_int>` **get_slot_type_right** **(** :ref:`int<class_int>` idx **)** const
Returns the (integer) type of right (output) ``idx`` slot.
----
.. _class_GraphNode_method_is_slot_enabled_left:
- :ref:`bool<class_bool>` **is_slot_enabled_left** **(** :ref:`int<class_int>` idx **)** const
Returns ``true`` if left (input) slot ``idx`` is enabled, ``false`` otherwise.
----
.. _class_GraphNode_method_is_slot_enabled_right:
- :ref:`bool<class_bool>` **is_slot_enabled_right** **(** :ref:`int<class_int>` idx **)** const
Returns ``true`` if right (output) slot ``idx`` is enabled, ``false`` otherwise.
----
.. _class_GraphNode_method_set_slot:
- void **set_slot** **(** :ref:`int<class_int>` idx, :ref:`bool<class_bool>` enable_left, :ref:`int<class_int>` type_left, :ref:`Color<class_Color>` color_left, :ref:`bool<class_bool>` enable_right, :ref:`int<class_int>` type_right, :ref:`Color<class_Color>` color_right, :ref:`Texture<class_Texture>` custom_left=null, :ref:`Texture<class_Texture>` custom_right=null **)**