WoW:API GetActionBarToggles: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetActionBarToggles to API GetActionBarToggles without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''GetActionBarToggles''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}} __NOTOC__


Get the state of the extra action bars.
Gets the toggle states of the extra action bars.


  bottomLeftState, bottomRightState, sideRightState, sideRight2State = GetActionBarToggles()
  bottomLeftState, bottomRightState, sideRightState, sideRight2State = GetActionBarToggles()
== Parameters ==
== Parameters ==
=== Arguments ===
<big>'''Arguments'''</big>
:()
:None


=== Returns ===
<big>'''Returns'''</big>
:bottomLeftState, bottomRightState, sideRightState, sideRight2State
:bottomLeftState, bottomRightState, sideRightState, sideRight2State


Line 15: Line 16:
:;sideRightState : Flag - 1 if the first (outer) right side action bar is shown, nil otherwise.
:;sideRightState : Flag - 1 if the first (outer) right side action bar is shown, nil otherwise.
:;sideRight2State : Flag - 1 if the second (inner) right side action bar is shown, nil otherwise.
:;sideRight2State : Flag - 1 if the second (inner) right side action bar is shown, nil otherwise.
----
__NOTOC__
{{Template:WoW API}}
[[Category:API Functions|GetActionBarToggles]]
[[Category:API Action Functions|GetActionBarToggles]]
[[Category:API Interface Functions|GetActionBarToggles]]

Latest revision as of 04:45, 15 August 2023

WoW API < GetActionBarToggles

Gets the toggle states of the extra action bars.

bottomLeftState, bottomRightState, sideRightState, sideRight2State = GetActionBarToggles()

Parameters[edit]

Arguments

None

Returns

bottomLeftState, bottomRightState, sideRightState, sideRight2State
bottomLeftState
Flag - 1 if the left-hand bottom action bar is shown, nil otherwise.
bottomRightState
Flag - 1 if the right-hand bottom action bar is shown, nil otherwise.
sideRightState
Flag - 1 if the first (outer) right side action bar is shown, nil otherwise.
sideRight2State
Flag - 1 if the second (inner) right side action bar is shown, nil otherwise.