Widget API: Region:Hide

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

Widget API ← Region < Hide

This function makes an object, and all its children, invisible.

MyObject:Hide()

Parameters[edit]

Arguments[edit]

none

Returns[edit]

nil

Notes[edit]

Makes an object invisible. If it is a Frame derivate, and has children, they will be hidden as well.
The OnHide event handler will be called for the object and all its children.


  • Future calls to :IsShown() as well as :IsVisible() will return false for the object.
  • Child objects will return false from :IsVisible(), but will return true from :IsShown unless :Hide() is called on them explicitly.