VoidvectorBot@legacy41580961 (talk | contribs) m (Robot: converting/fixing HTML) |
Bryanc8001@legacy41529223 (talk | contribs) (→Details: the event only fires if the page was actually changed) |
||
Line 29: | Line 29: | ||
: Notifies the UI that the current action button set has been updated to the current value of the CURRENT_ACTIONBAR_PAGE global variable. |
: Notifies the UI that the current action button set has been updated to the current value of the CURRENT_ACTIONBAR_PAGE global variable. |
||
− | : Will cause an ACTIONBAR_PAGE_CHANGED event to fire |
+ | : Will cause an ACTIONBAR_PAGE_CHANGED event to fire only if there was actually a change (tested in 2.3.0). |
− | |||
---- |
---- |
Revision as of 06:19, 4 December 2007
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Changes the current action button to the one specified in the arguments.
ChangeActionBarPage(actionBarPage)
Parameters
Arguments
- (actionBarPage)
- actionBarPage
- Numeric - Which page of your action bar to switch to. Expects an integer 1-6.
Returns
- nil
Example
function ActionBar_FirstPage() ChangeActionBarPage(1); end
Or for a macro:
/script ChangeActionBarPage(2);
Details
- Notifies the UI that the current action button set has been updated to the current value of the CURRENT_ACTIONBAR_PAGE global variable.
- Will cause an ACTIONBAR_PAGE_CHANGED event to fire only if there was actually a change (tested in 2.3.0).