Ohklus@legacy41562383 (talk | contribs) m (additional note (OnHide called before OnShow)) |
Ohklus@legacy41562383 (talk | contribs) mNo edit summary |
||
Line 29: | Line 29: | ||
: I found that Frames of type Button can't call this method if the player is in combat. ¿Any one else seen the same behaviour? |
: I found that Frames of type Button can't call this method if the player is in combat. ¿Any one else seen the same behaviour? |
||
− | --- |
+ | ---- |
;''Note'' |
;''Note'' |
||
: If the frame is not visible, then the [UIHANDLER_OnHide|OnHide] event will be called before [UIHANDLER_OnShow|OnShow]. |
: If the frame is not visible, then the [UIHANDLER_OnHide|OnHide] event will be called before [UIHANDLER_OnShow|OnShow]. |
Revision as of 15:53, 14 December 2009
The API is no longer being updated here until further notice. |
This function makes a frame visible.
object:Show()
- Arguments
- none
- Returns
- none
- Description
- Makes a frame visible. Note that if a frame's parent is hidden, the frame displayed will not appear until its parent is shown as well.
- Performance note
- If a lot of frames are shown for the first time at once (like in action bar mods), then the interface may hang for a few seconds, I found no way to fix this.
- Protected function
- I found that Frames of type Button can't call this method if the player is in combat. ¿Any one else seen the same behaviour?
- Note
- If the frame is not visible, then the [UIHANDLER_OnHide|OnHide] event will be called before [UIHANDLER_OnShow|OnShow].