classref: Sync with latest 4.0-dev

This commit is contained in:
Rémi Verschelde
2021-11-15 12:28:38 +01:00
parent d6d97aaf5e
commit 30193215cf
829 changed files with 12891 additions and 7761 deletions
+19 -1
View File
@@ -1,6 +1,6 @@
:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the ColorPickerButton.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
@@ -65,6 +65,8 @@ Theme Properties
+-----------------------------------+-------------------------------------------------------------------------------------+-------------------------------+
| :ref:`Color<class_Color>` | :ref:`font_disabled_color<class_ColorPickerButton_theme_color_font_disabled_color>` | ``Color(0.9, 0.9, 0.9, 0.3)`` |
+-----------------------------------+-------------------------------------------------------------------------------------+-------------------------------+
| :ref:`Color<class_Color>` | :ref:`font_focus_color<class_ColorPickerButton_theme_color_font_focus_color>` | ``Color(1, 1, 1, 1)`` |
+-----------------------------------+-------------------------------------------------------------------------------------+-------------------------------+
| :ref:`Color<class_Color>` | :ref:`font_hover_color<class_ColorPickerButton_theme_color_font_hover_color>` | ``Color(1, 1, 1, 1)`` |
+-----------------------------------+-------------------------------------------------------------------------------------+-------------------------------+
| :ref:`Color<class_Color>` | :ref:`font_outline_color<class_ColorPickerButton_theme_color_font_outline_color>` | ``Color(1, 1, 1, 1)`` |
@@ -151,6 +153,8 @@ Method Descriptions
Returns the :ref:`ColorPicker<class_ColorPicker>` that this node toggles.
**Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their :ref:`CanvasItem.visible<class_CanvasItem_property_visible>` property.
----
.. _class_ColorPickerButton_method_get_popup:
@@ -159,6 +163,8 @@ Returns the :ref:`ColorPicker<class_ColorPicker>` that this node toggles.
Returns the control's :ref:`PopupPanel<class_PopupPanel>` which allows you to connect to popup signals. This allows you to handle events when the ColorPicker is shown or hidden.
**Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their :ref:`Window.visible<class_Window_property_visible>` property.
Theme Property Descriptions
---------------------------
@@ -218,6 +224,18 @@ Text :ref:`Color<class_Color>` used when the ``ColorPickerButton`` is disabled.
----
.. _class_ColorPickerButton_theme_color_font_focus_color:
- :ref:`Color<class_Color>` **font_focus_color**
+-----------+-----------------------+
| *Default* | ``Color(1, 1, 1, 1)`` |
+-----------+-----------------------+
Text :ref:`Color<class_Color>` used when the ``ColorPickerButton`` is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
----
.. _class_ColorPickerButton_theme_color_font_hover_color:
- :ref:`Color<class_Color>` **font_hover_color**