Frame:GetVisible()

From Riftui Wiki

Jump to: navigation, search

Returns if an element is visible or not.

Contents

Signature

visible = frame:GetVisible()

Parameters

None

Return Value

visible (boolean) - true if the element is visible, false otherwise.

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
-- Prints "true" --
print(tostring(frame:GetVisible()))
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox