icon

Applies an icon to this action for display in a context menu. Default icon is no icon at all, simply a blank space to line the text up with actions that do have an icon.

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

icon

Decorated icon decoration to render. This rendering can't be offset, so supply an icon that fits in the defined 10x10 space.

See also

a decoration class that renders in the 10x space needed

for example context icons