pressedIcon

Sets the icon a button displays while it is held down; null falls back to the base icon. Applies to every kind of button.

Return

this modifier with the pressed icon declared on it.

Parameters

icon

the icon drawn while the button is both pressed and armed; dragging the pointer off the button with the mouse button still down disarms it and puts the base icon back until the pointer returns.

See also