Initialize the label with given text.
Erase all label contents.
Change the style for next part of the text.
Append new text.
Push text to the label.
Get the current text of the label, as plain text.
Parts defining label text.
This node defines a single style, style, which also works as a default style for all other nodes. However, rather than for that, the purpose of this style is to define the convention of style being the node's default, idle style.
Tree data for the node. Note: requires at least one draw before this will work.
Layout for this node.
If true, this node will be removed from the tree on the next draw.
If true, mouse focus will be disabled for this node, so mouse signals will "go through" to its parents, as if the node wasn't there. The mouse will still detect hover like normal.
Minimum size of the node.
Get the current theme.
Set the theme.
Check if the node is hidden.
Set the visibility
Show the node.
Hide the node.
Toggle the node's visibility.
Remove this node from the tree before the next draw.
Check if this node is hovered.
Check if this node is disabled.
Check if this node is disabled.
Checks if the node is disabled, either by self, or by any of its ancestors. Only works while the node is being drawn.
Recalculate the window size before next draw.
Draw this node as a root node.
Draw this node at specified location.
Recalculate the minimum node size and update the minSize property.
Ditto
Draw this node.
Check if the node is hovered.
Get the current style.
A rich label can display text on the screen and apply custom styling to parts of the text.
Warning: This component is currently difficult to use and easy to break. It is also lacking in features such as wrapping. To obtain styles in order to pass to it, it's recommended to create a custom node, define them with DefineStyles and then use the resulting styles. A way to get achieve this is to subclass this node.
Styles: