Widget/API/IsVisible

__NOTOC__
Determines the widget's Shown state, not the visibility of the widget as the function name would indicate.
vis = MyWidget:IsVisible()
== Parameters ==
=== Arguments ===
:;None
=== Returns ===
:;vis
::boolean - true if Shown, false if Hidden.
== Example ==
Prints true if the frame is Shown, false if it is Hidden.
print(PetFrame:IsVisible())
== Notes ==
* Oddly, being invisible does not mean IsVisible will return false. The Shown child of a hidden parent will be invisible, but IsVisible will return true for that child. 
* Bug: This method should have been named: IsShown
== Relevant Widget Elements ==
Nearly all of them, including the ui parent window.
== Related Methods ==
* Hide
* Show
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout