UIHANDLER OnShow

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png ScriptRegion:Show
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png ScriptRegion:Hide
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png ScriptRegion:SetShown
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png ScriptRegion:IsShown
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png  Wowprogramming.png ScriptRegion:IsVisible
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png OnShow
GitHub Octocat.png  Dragonflight-Icon-Inline.png  BTNTemp.png 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