Files
wow_Meta/api/SetBindingClick.lua
2025-05-04 14:35:26 +02:00

9 lines
509 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param key string
---@param buttonName string
---@param mouseButton string
---@return 1nil success
---Binds a key combination to "click" a Button object. When the binding is used, all of the relevant mouse handlers on the button (save for OnEnter and OnLeave) fire just as if the button were activated by the mouse (including OnMouseDown and OnMouseUp as the key is pressed and released).
function SetBindingClick(key, buttonName, mouseButton) end