v0.13.8

SetBindingClick

functionguessedavailable in: camelot

Sets a binding to click the specified Button widget.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
keystringAny binding string accepted by World of Warcraft. For example: "ALT-CTRL-F", "SHIFT-T", "W", "BUTTON4".
buttonNamestringName of the button you wish to click.
buttonstring?Value of the button argument you wish to pass to the OnClick handler with the click; "LeftButton" by default.

Returns

ok · boolean? · 1 if the binding has been changed successfully, nil otherwise.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.