Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
LinkButton¶
Inherits: BaseButton < Control < CanvasItem < Node < Object
A button that represents a link.
Description¶
A button that represents a link. This type of button is primarily used for interactions that cause a context change (like linking to a web page).
See also BaseButton which contains common properties and methods associated with this node.
Properties¶
focus_mode |
|
|
|
||
mouse_default_cursor_shape |
|
|
|
||
|
||
|
||
|
||
|
||
|
Theme Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Enumerations¶
enum UnderlineMode:
UnderlineMode UNDERLINE_MODE_ALWAYS = 0
The LinkButton will always show an underline at the bottom of its text.
UnderlineMode UNDERLINE_MODE_ON_HOVER = 1
The LinkButton will show an underline at the bottom of its text when the mouse cursor is over it.
UnderlineMode UNDERLINE_MODE_NEVER = 2
The LinkButton will never show an underline at the bottom of its text.
Property Descriptions¶
String language = ""
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.
StructuredTextParser structured_text_bidi_override = 0
void set_structured_text_bidi_override ( StructuredTextParser value )
StructuredTextParser get_structured_text_bidi_override ( )
Set BiDi algorithm override for the structured text.
Array structured_text_bidi_override_options = []
void set_structured_text_bidi_override_options ( Array value )
Array get_structured_text_bidi_override_options ( )
Set additional options for BiDi override.
String text = ""
The button's text that will be displayed inside the button's area.
TextDirection text_direction =