Layout:GetName()

From Riftui Wiki

Jump to: navigation, search

Returns the Name of the element as provided by the Addon when using UI.CreateContext() or UI.CreateFrame().

Contents

Signature

name = layout:GetName()

Parameters

None

Return Value

name (string) - The name of the element.

Example

local context = UI.CreateContext("SampleContext")
-- Will Print out "SampleContext" --
print(context:GetName())
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox