WoW:API GetNumBindings: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetNumBindings'''</center>
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 [[API GetBinding|GetBinding(index)]] to loop through and set/get all of the key bindings available.
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 [[API GetBinding|GetBinding(index)]] to loop through and set/get all of the key bindings available.



Revision as of 17:18, 17 January 2008

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();