Class endstone::Label¶
Represents a text label.
#include <endstone/form/controls/label.h>
Public Functions¶
Type | Name |
---|---|
Label () = default |
|
Label (Message text) |
|
Message | getText () const Gets the text of the label. |
Label & | setText (Message text) Sets the text of the label. |
Public Functions Documentation¶
function Label [½]¶
function Label [2/2]¶
function getText¶
Gets the text of the label.
Returns:
The text of the label.
function setText¶
Sets the text of the label.
Parameters:
text
The new text for the label.
Returns:
A reference to the current label.
The documentation for this class was generated from the following file include/endstone/form/controls/label.h