withNarrationAppender

fun withNarrationAppender(narrationAppender: Consumer<NarrationMessageBuilder>): LayoutClickableWidget

Applies custom narration to this layout widget. This consumer will be applied on every call to narration building, using the same message level as the default narration of the widget. In particular, element POSITION and USAGE information is typically applied already. The current hovered and/or focused child widget uses the next message layer. If you have to dodge one of both of these existing additions, you will have to add one or two more layers to the builder before using it.

Return

this widget

Author

fzzyhmstrs

Since

0.6.5

Parameters

narrationAppender

Consumer<NarrationMessageBuilder> appends arbitrary narration information to the provided builder.