WoW:API Region Show: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 24: Line 24:
;''Performance note''
;''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.
: 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?

Revision as of 23:30, 29 May 2009

Widget API ← Region < Show


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?