WoW:Events/Action Bar

< Events
Revision as of 08:40, 8 August 2006 by WoWWiki>Mikk (automated upload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event API

Action Bar related events

"ACTIONBAR_HIDEGRID"
Category: Action Bar
 

Fired when the actionbar numbers disappear, typically when you finish dragging something to the actionbar

no arguments


"ACTIONBAR_PAGE_CHANGED"
Category: Action Bar
 

Fired when the actionbar page changes, typically when you press the pageup or pagedown button.

arg1
the mouse button used to click the button. Known values: "LeftButton", "RightButton"


"ACTIONBAR_SHOWGRID"
Category: Action Bar
 

Fired when the actionbar numbers appear, typically when you drag a spell to the actionbar.

arg1
the mouse button used to drag the spell. Known values: "LeftButton", "RightButton"


"ACTIONBAR_SLOT_CHANGED"
Category: Action Bar
 

Fired when any actionbar slot's contents change; typically the picking up and dropping of buttons.

On 4/24/2006, Slouken stated "ACTIONBAR_SLOT_CHANGED is also sent whenever something changes whether or not the button should be dimmed. The first argument is the slot which changed." This means actions that affect the internal fields of action bar buttons also generate this event for the affected button(s). Examples include the Start and End of casting channeled spells, casting a new buff on yourself, and the cancellation or expiration of a buff on yourself.

arg1
the number of the slot that changed


"ACTIONBAR_UPDATE_COOLDOWN"
Category: Action Bar
 

Fired when the cooldown for an actionbar or inventory slot starts or stops. Also fires when you log into a new area.

arg1
if the cooldown is starting, the mouse button used to click the button. Known values: "leftButton"
if the cooldown is stopping or you are logging into a new zone, this is nil


"ACTIONBAR_UPDATE_STATE"
Category: Action Bar
 

Fired when the state of anything on the actionbar changes. This includes cooldown and disabling.

arg1
the mouse button used to click the button. Known values: "LeftButton", "RightButton"
can also be nil


"ACTIONBAR_UPDATE_USABLE"
Category: Action Bar
 

Fired when something in the actionbar or your inventory becomes usable (after eating or drinking a potion, or entering/leaving stealth; for example).

no arguments


"PET_BAR_HIDEGRID"
Category: Pet,Action Bar
 

Fired when pet spells are dropped into the PetActionBar.


"PET_BAR_SHOWGRID"
Category: Pet, Action Bar
 

Fired when pet spells are dragged from the pet spellbook or the PetActionBar.

arg1
MouseButton used (e.g. "LeftButton","RightButton")


"PET_BAR_UPDATE"
Category: Pet, Action Bar
 

Fired when the pet bar is updates.


"PET_BAR_UPDATE_COOLDOWN"
Category: Pet, Action Bar
 

Fired when a pet spell cooldown starts. It is not called when cooldown ends.