Widget handler: OnShow

From AddOn Studio
Revision as of 23:28, 14 July 2008 by WoWWiki>Charibot (catfix, Replaced: {{widgethandler}} → {{widgethandler}}<br>)
Jump to navigation Jump to search

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.