widgetAndTooltipEntry

open fun widgetAndTooltipEntry(choicePredicate: ChoiceValidator<T> = ChoiceValidator.any()): ClickableWidget

Builds a new ClickableWidget and applies a tooltip to it. This shouldn't need to be overridden in most cases

Return

ClickableWidget instance; should be a new instance on every call.

Author

fzzyhmstrs

Since

0.6.0

Parameters

choicePredicate

ChoiceValidator, optional. Default allows any option.