UIHANDLER OnDoubleClick

Fires when double-clicking a Button. (self, button)

Arguments

 * self : - Widget being clicked.
 * button : - "LeftButton", "RightButton", "MiddleButton", "Button4", "Button5", ..., "ButtonN".

Details

 * Requires the mouse button to have been pressed, released, re-pressed and re-released over the Button; there can be a pause after the initial press, but the latter three steps must be quick.
 * Requires registering for the "Up" button event with.
 * OnDoubleClick blocks, , and when it fires.
 * Continuous button-mashing alternates between OnClick and OnDoubleClick if both are set.

Example
A simple button that tells you how it was pressed.