WoW API: GetNumBindings

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetNumBindings to API GetNumBindings without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetNumBindings

Returns the total number of key bindings listed in the key bindings window. This includes not only actions that can be bound, but also the category headers in the window. This would generally be used in conjunction with GetBinding(index) to loop through and set/get all of the key bindings available.


Arguments
(no arguments)

Returns
Integer numKeyBindings
numKeyBindings
The total number of key bindings (including headers) listed in the key bindings window.

Example
numKeyBindings = GetNumBindings();