WoW:API GetMouseButtonClicked: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Returns the name of the button responsible causing the OnClick handler to fire. buttonName = GetMouseButtonClicked(); == Returns == ; buttonName : String - name of t…') |
m (Move page script moved page API GetMouseButtonClicked to API GetMouseButtonClicked without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
← WoW API < GetMouseButtonClicked
Returns the name of the button responsible causing the OnClick handler to fire.
buttonName = GetMouseButtonClicked();
Returns[edit]
- buttonName
- String - name of the button responsible for the innermost OnClick event. For example, "LeftButton"
Details[edit]
- The buttonName return value may be an arbitrary string (as the Button:Click method accepts arbitrary arguments).
- If there are multiple OnClick handler dispatches on the call stack, information about the innermost one is returned.