Initial commit
This commit is contained in:
8
api/SetBindingClick.lua
Normal file
8
api/SetBindingClick.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
---@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
|
Reference in New Issue
Block a user