on_clicked


Description:

protected virtual Animation on_clicked (PopupButton button, ModifierType mod)

Called when an item is clicked on.

Parameters:

button the button clicked
mod the modifiers

Returns:

which type of animation to trigger