Widget handler: OnShow

From AddOn Studio
Revision as of 04:49, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page UIHANDLER OnShow to UIHANDLER OnShow without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Widget handlers < OnShow

Description[edit]

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[edit]

no known arguments

Notes[edit]

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.