Action.onRightClick

Example by applejuice:
local myAction = myPage:newAction()

myAction:onRightClick(function()
log("Heheh I got Right Clicked!")
end)
Sets the function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:onRightClick(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function that takes an Action and will return anything
Return Value an Action
a a