UIHANDLER OnShow

From Warcraft Wiki
Jump to navigation Jump to search
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif  Wowprogramming.png ScriptRegion:Show
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif  Wowprogramming.png ScriptRegion:Hide
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif ScriptRegion:SetShown
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif  Wowprogramming.png ScriptRegion:IsShown
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif  Wowprogramming.png ScriptRegion:IsVisible
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif OnShow
Inv mushroom 11.png  GitHub Octocat.png  Blizz.gif OnHide

Fires when a widget appears.

(self)

Arguments

self
Frame - The appearing widget.

Description

  • The OnShow event is called when a hidden frame is about to become visible on screen.
  • Normally requires the frame to have previously been hidden; i.e. repeated calls to Region:Show() are ignored.
  • However, if a frame is defined in XML then OnShow also fires after OnLoad unless hidden at the time.

See also