WoW:API Region Hide: Difference between revisions
Jump to navigation
Jump to search
Reformat, expan d.
No edit summary |
(Reformat, expan d.) |
||
| Line 1: | Line 1: | ||
{{widgetmethod}} __NOTOC__ | |||
This function makes | This function makes an object, and all its children, invisible. | ||
MyObject:Hide() | |||
== Parameters == | |||
=== Arguments === | |||
:''none'' | |||
:'' | === Returns === | ||
:''nil'' | |||
== Notes == | |||
: | : Makes an object invisible. If it is a [[UIOBJECT Frame|Frame]] derivate, and has children, they will be hidden as well. | ||
: The [[UIHANDLER OnHide|OnHide]] event handler will be called for the object and all its children. | |||
* Future calls to [[API Region IsShown|:IsShown]]() as well as [[API Region IsShown|:IsVisible]]() will return ''false'' for the object. | |||
* Child objects will return false from [[API Region IsVisible|:IsVisible]](), but will return ''true'' from [[API Region IsShown|:IsShown]] unless :Hide() is called on them explicitly. | |||