ItemLabel

Functions

inline ItemLabel *ITEM_LABEL(const char *text)

Create a new unselectable label item.

Parameters:

text – The text to display for the item.

Returns:

ItemLabel* The created item. Caller takes ownership of the returned pointer.

class ItemLabel : public MenuItem
#include <ItemLabel.h>

An unselectable menu item used for titles or separators.

Public Functions

inline explicit ItemLabel(const char *text)
inline virtual bool isSelectable() const override

Check if the item can be selected by the cursor.