API:ActionButton GetButtonID

__NOTOC__
Returns the action button slot id from an action button object.
local id = ActionButton_GetButtonID(button);
== Parameters ==
=== Arguments ===
:;button
::userdata - Table containing a button's userdata
=== Returns ===
:;id
::Number - The action bar button ID 1 through 80.
== Example ==
local button = ActionButton_GetActionButton(10);
DEFAULT_CHAT_FRAME:AddMessage(ActionButton_GetButtonID(button));
displays "10" to the chat frame.
Category:Functions