name

fun name(name: Component?)

Sets the name of the item. Can be set to null to completely hide the tooltip.

This function is exclusive with localizedName.