on_clicked


Description:

protected virtual AnimationType on_clicked (PopupButton button, ModifierType mod, uint32 event_time)

Called when an item is clicked on.

Parameters:

button

the button clicked

mod

the modifiers

event_time

the timestamp of the event triggering this action

Returns:

which type of animation to trigger