Widget handler: OnShow

Revision as of 20:04, 14 August 2007 by WoWWiki>Skeeve2 (new page for OnShow)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget handlers < OnShow

Description

The OnShow event is called when a hidden frame is about to become visible on screen. Showing a frame that is already visible does not invoke the Onshow() event.

Arguments

no known arguments

Notes

When attempting to show an UI object by calling Region:Show() you should bear in mind that the UI object will only become visible if its parent is visible. OnShow will not be called if the object does not become visible.

Have a look at Handling UI Events for an explanation of event handling and some code examples.