UIHANDLER PostClick

From Warcraft Wiki
Jump to navigation Jump to search

Fires immediately after OnClick.

(self, button, down)

Arguments

self
Button - Widget being clicked.
button
string - "LeftButton", "RightButton", "MiddleButton", "Button4", "Button5", ..., "ButtonN"; however, virtual or overriden clicks have aribtrary values using Button:Click(), SetBindingClick() and SecureHandlerWrapScript().
down
boolean - True when the button is pressed, false when it is released.

Details

  • Blocked in the "up" direction by OnDoubleClick when it fires.
  • Blocked in the "up" direction after dragging with a button registered for dragging, or any time if the cursor is moved off the widget and not brought back before releasing the mouse button.