Run when the button is double-clicked. Run if the mouse button is clicked twice within 0.3 seconds. (The PreClick, OnClick, and PostClick handlers are run for the first click but not the second.)

Signature:

OnDoubleClick(self, "button")

Arguments:

  • self - Reference to the widget for which the script was run (button)
  • button - Name of the mouse button responsible for the click action (string)
    • Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton