Skip to content

Class endstone::Header

ClassList > endstone > Header

Represents a header with a label.

  • #include <endstone/form/controls/header.h>

Public Functions

Type Name
Header () = default
Header (Message label)
Message getLabel () const
Gets the label of the header.
Header & setLabel (Message label)
Sets the label of the header.

Public Functions Documentation

function Header [½]

endstone::Header::Header () = default

function Header [2/2]

inline explicit endstone::Header::Header (
    Message label
) 

function getLabel

Gets the label of the header.

inline Message endstone::Header::getLabel () const

Returns:

The label of the header.


function setLabel

Sets the label of the header.

inline Header & endstone::Header::setLabel (
    Message label
) 

Parameters:

  • label The new label for the header.

Returns:

A reference to the current header.



The documentation for this class was generated from the following file include/endstone/form/controls/header.h