Run when the frame becomes visible. This script handler runs whether the frame was directly shown (via its :Show()
method) or became visible due to a parent frame being shown. The OnShow
handler is not run if the frame is implicitly shown upon its creation.
Signature:
OnShow(self)
Arguments:
self
- Reference to the widget for which the script was run (frame
)