mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Sync with latest 4.0-dev
This commit is contained in:
@@ -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**
|
||||
|
||||
Reference in New Issue
Block a user