Run when the mouse button is released following a mouse down action in the frame. This script is always run for the frame which received the initial mouse button down event (unless the frame is registered for drag actions and a drag action is started before the button is released). For further details, see the example under OnClick.


OnMouseUp(self, "button")


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