Widget handler: OnShow

From AddOn Studio
Jump to navigation Jump to search

Widget handlers < OnShow


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.


no known arguments


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.