icon

external var icon: NativeImage(source)

A NativeImage representing the button's current icon. Changing this value immediately updates the button in the touch bar.