UI.CreateContext()

From Riftui Wiki

Jump to: navigation, search

Creates a context. You must have a context before you can create any frames.

Contents

Signature

context = UI.CreateContext(name)

Parameters

name (string) - a descriptive name for this element. Used for error reports and performance information. May be shown to end-users.

Return Value

context (context) - a new context. Contexts are guaranteed to have at least the capabilities of a frame.

Example

local actionBar1 = UI.CreateContext("actionBar1")

See this thread[1] for a great deal more information.

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox