Mikk38024@legacy41558003 (talk | contribs) ({{framexml}}) |
Mikk38024@legacy41558003 (talk | contribs) ({{framexmlfunc|FrameXML/ContainerFrame.lua}} __NOTOC__) |
||
Line 1: | Line 1: | ||
+ | {{framexmlfunc|FrameXML/ContainerFrame.lua}} __NOTOC__ |
||
− | {{framexml}} |
||
+ | |||
− | <center>'''ToggleBag''' ''-Documentation by AlexanderYoshi-''</center> |
||
⚫ | |||
Opens or closes the specified bag. |
Opens or closes the specified bag. |
||
⚫ | |||
+ | == Parameters == |
||
− | ---- |
||
− | + | === Arguments === |
|
⚫ | |||
− | :(Number bagNum) |
||
⚫ | |||
⚫ | |||
− | |||
− | ---- |
||
⚫ | |||
:;nil |
:;nil |
||
⚫ | |||
− | ---- |
||
+ | |||
⚫ | |||
ToggleBag(2); |
ToggleBag(2); |
||
− | |||
− | ;''Result'' |
||
− | |||
− | ---- |
||
− | ;''Description'' |
||
− | |||
− | : Opens or closes the specified bag. |
||
+ | == Details == |
||
− | : NOTE: |
||
: If toggling the backpack with the keyboard, this function is called when opening but NOT when closing. Closing appears to be done by ToggleBackpack(). However, if the mouse is used to close the Backpack then this function does respond. |
: If toggling the backpack with the keyboard, this function is called when opening but NOT when closing. Closing appears to be done by ToggleBackpack(). However, if the mouse is used to close the Backpack then this function does respond. |
Revision as of 14:05, 5 September 2006
- This function is implemented in
FrameXML/ContainerFrame.lua
.
- This function is implemented in
ToggleBag(bagNum);
Opens or closes the specified bag.
Parameters
Arguments
- bagNum
- Number - the bagId you want to toggle open or close
Returns
- nil
Example
ToggleBag(2);
Details
- If toggling the backpack with the keyboard, this function is called when opening but NOT when closing. Closing appears to be done by ToggleBackpack(). However, if the mouse is used to close the Backpack then this function does respond.