API:ActionButton GetButtonID

Returns the action button slot id from an action button object.

Arguments

 * button
 * userdata - Table containing a button's userdata

Returns

 * id
 * Number - The action bar button ID 1 through 80.

Example
displays "10" to the chat frame.