API SetOverrideBindingClick

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < SetOverrideBindingClick

Creates an override binding that performs a button click.

SetOverrideBindingClick(owner, isPriority, "key", "buttonName"[, "mouseClick"]);

Arguments Edit

Frame - The frame this binding "belongs" to; this can later be used to clear all override bindings belonging to a particular frame.
Boolean - true if this is a priority binding, false otherwise. Both types of override bindings take precedence over normal bindings.
String - Binding to bind the command to. For example, "Q", "ALT-Q", "ALT-CTRL-SHIFT-Q", "BUTTON5"
String - Name of the button widget this binding should fire a click event for.
String - Mouse button name argument passed to the OnClick handlers.

Details Edit

  • Override bindings take precedence over the normal SetBinding bindings. Priority override bindings take precedence over non-priority override bindings.
  • Override bindings are never saved, and will be wiped by an interface reload.
  • You cannot use this function to clear an override binding; use SetOverrideBinding instead.

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki