mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Sync with current master branch (705b7a0)
This commit is contained in:
@@ -98,7 +98,7 @@ Enumerations
|
||||
|
||||
.. rst-class:: classref-enumeration
|
||||
|
||||
enum **UnderlineMode**:
|
||||
enum **UnderlineMode**: :ref:`🔗<enum_LinkButton_UnderlineMode>`
|
||||
|
||||
.. _class_LinkButton_constant_UNDERLINE_MODE_ALWAYS:
|
||||
|
||||
@@ -137,7 +137,7 @@ Property Descriptions
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`String<class_String>` **language** = ``""``
|
||||
:ref:`String<class_String>` **language** = ``""`` :ref:`🔗<class_LinkButton_property_language>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -154,7 +154,7 @@ Language code used for line-breaking and text shaping algorithms, if left empty
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`StructuredTextParser<enum_TextServer_StructuredTextParser>` **structured_text_bidi_override** = ``0``
|
||||
:ref:`StructuredTextParser<enum_TextServer_StructuredTextParser>` **structured_text_bidi_override** = ``0`` :ref:`🔗<class_LinkButton_property_structured_text_bidi_override>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -171,7 +171,7 @@ Set BiDi algorithm override for the structured text.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Array<class_Array>` **structured_text_bidi_override_options** = ``[]``
|
||||
:ref:`Array<class_Array>` **structured_text_bidi_override_options** = ``[]`` :ref:`🔗<class_LinkButton_property_structured_text_bidi_override_options>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -188,7 +188,7 @@ Set additional options for BiDi override.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`String<class_String>` **text** = ``""``
|
||||
:ref:`String<class_String>` **text** = ``""`` :ref:`🔗<class_LinkButton_property_text>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -205,7 +205,7 @@ The button's text that will be displayed inside the button's area.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`TextDirection<enum_Control_TextDirection>` **text_direction** = ``0``
|
||||
:ref:`TextDirection<enum_Control_TextDirection>` **text_direction** = ``0`` :ref:`🔗<class_LinkButton_property_text_direction>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -222,7 +222,7 @@ Base text writing direction.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`UnderlineMode<enum_LinkButton_UnderlineMode>` **underline** = ``0``
|
||||
:ref:`UnderlineMode<enum_LinkButton_UnderlineMode>` **underline** = ``0`` :ref:`🔗<class_LinkButton_property_underline>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -239,7 +239,7 @@ The underline mode to use for the text. See :ref:`UnderlineMode<enum_LinkButton_
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`String<class_String>` **uri** = ``""``
|
||||
:ref:`String<class_String>` **uri** = ``""`` :ref:`🔗<class_LinkButton_property_uri>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -280,7 +280,7 @@ Theme Property Descriptions
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_color** = ``Color(0.875, 0.875, 0.875, 1)``
|
||||
:ref:`Color<class_Color>` **font_color** = ``Color(0.875, 0.875, 0.875, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_color>`
|
||||
|
||||
Default text :ref:`Color<class_Color>` of the **LinkButton**.
|
||||
|
||||
@@ -292,7 +292,7 @@ Default text :ref:`Color<class_Color>` of the **LinkButton**.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_disabled_color** = ``Color(0, 0, 0, 1)``
|
||||
:ref:`Color<class_Color>` **font_disabled_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_disabled_color>`
|
||||
|
||||
Text :ref:`Color<class_Color>` used when the **LinkButton** is disabled.
|
||||
|
||||
@@ -304,7 +304,7 @@ Text :ref:`Color<class_Color>` used when the **LinkButton** is disabled.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_focus_color** = ``Color(0.95, 0.95, 0.95, 1)``
|
||||
:ref:`Color<class_Color>` **font_focus_color** = ``Color(0.95, 0.95, 0.95, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_focus_color>`
|
||||
|
||||
Text :ref:`Color<class_Color>` used when the **LinkButton** is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
|
||||
@@ -316,7 +316,7 @@ Text :ref:`Color<class_Color>` used when the **LinkButton** is focused. Only rep
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_hover_color** = ``Color(0.95, 0.95, 0.95, 1)``
|
||||
:ref:`Color<class_Color>` **font_hover_color** = ``Color(0.95, 0.95, 0.95, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_hover_color>`
|
||||
|
||||
Text :ref:`Color<class_Color>` used when the **LinkButton** is being hovered.
|
||||
|
||||
@@ -328,7 +328,7 @@ Text :ref:`Color<class_Color>` used when the **LinkButton** is being hovered.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_hover_pressed_color** = ``Color(0, 0, 0, 1)``
|
||||
:ref:`Color<class_Color>` **font_hover_pressed_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_hover_pressed_color>`
|
||||
|
||||
Text :ref:`Color<class_Color>` used when the **LinkButton** is being hovered and pressed.
|
||||
|
||||
@@ -340,7 +340,7 @@ Text :ref:`Color<class_Color>` used when the **LinkButton** is being hovered and
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_outline_color** = ``Color(0, 0, 0, 1)``
|
||||
:ref:`Color<class_Color>` **font_outline_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_outline_color>`
|
||||
|
||||
The tint of text outline of the **LinkButton**.
|
||||
|
||||
@@ -352,7 +352,7 @@ The tint of text outline of the **LinkButton**.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Color<class_Color>` **font_pressed_color** = ``Color(1, 1, 1, 1)``
|
||||
:ref:`Color<class_Color>` **font_pressed_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗<class_LinkButton_theme_color_font_pressed_color>`
|
||||
|
||||
Text :ref:`Color<class_Color>` used when the **LinkButton** is being pressed.
|
||||
|
||||
@@ -364,7 +364,7 @@ Text :ref:`Color<class_Color>` used when the **LinkButton** is being pressed.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`int<class_int>` **outline_size** = ``0``
|
||||
:ref:`int<class_int>` **outline_size** = ``0`` :ref:`🔗<class_LinkButton_theme_constant_outline_size>`
|
||||
|
||||
The size of the text outline.
|
||||
|
||||
@@ -378,7 +378,7 @@ The size of the text outline.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`int<class_int>` **underline_spacing** = ``2``
|
||||
:ref:`int<class_int>` **underline_spacing** = ``2`` :ref:`🔗<class_LinkButton_theme_constant_underline_spacing>`
|
||||
|
||||
The vertical space between the baseline of text and the underline.
|
||||
|
||||
@@ -390,7 +390,7 @@ The vertical space between the baseline of text and the underline.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`Font<class_Font>` **font**
|
||||
:ref:`Font<class_Font>` **font** :ref:`🔗<class_LinkButton_theme_font_font>`
|
||||
|
||||
:ref:`Font<class_Font>` of the **LinkButton**'s text.
|
||||
|
||||
@@ -402,7 +402,7 @@ The vertical space between the baseline of text and the underline.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`int<class_int>` **font_size**
|
||||
:ref:`int<class_int>` **font_size** :ref:`🔗<class_LinkButton_theme_font_size_font_size>`
|
||||
|
||||
Font size of the **LinkButton**'s text.
|
||||
|
||||
@@ -414,7 +414,7 @@ Font size of the **LinkButton**'s text.
|
||||
|
||||
.. rst-class:: classref-themeproperty
|
||||
|
||||
:ref:`StyleBox<class_StyleBox>` **focus**
|
||||
:ref:`StyleBox<class_StyleBox>` **focus** :ref:`🔗<class_LinkButton_theme_style_focus>`
|
||||
|
||||
:ref:`StyleBox<class_StyleBox>` used when the **LinkButton** is focused. The :ref:`focus<class_LinkButton_theme_style_focus>` :ref:`StyleBox<class_StyleBox>` is displayed *over* the base :ref:`StyleBox<class_StyleBox>`, so a partially transparent :ref:`StyleBox<class_StyleBox>` should be used to ensure the base :ref:`StyleBox<class_StyleBox>` remains visible. A :ref:`StyleBox<class_StyleBox>` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty<class_StyleBoxEmpty>` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user