Frame:SetVisible()

From Riftui Wiki

Jump to: navigation, search

Sets the visibility of the frame. true for visible, false for hidden.

Contents

Signature

frame:SetVisible(bool)

Parameters

bool (boolean) - true for visible, false for hidden.

Return Value

None

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
-- Hide the frame --
frame:SetVisible(false)
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox