API GetNumBindings

From Wowpedia
Jump to: navigation, search

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 to loop through and set/get all of the key bindings available.

numKeyBindings = GetNumBindings()

Returns

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