RiftWindow Frame

From Riftui Wiki

Jump to: navigation, search

A RiftWindow is a special type of Frame that introduces a method for creating windows.

Contents

Creation

See UI.CreateFrame()

Methods

Inherits all functions from Frame and includes new methods:


Events

Inherits all Events from Frame.

Example

-- Create our context
local context = UI.CreateContext("SampleContext")
-- Create our checkbox
local window = UI.CreateFrame("RiftWindow", "SampleWindow", context)
-- Put the checkbox in the middle of the screen
window:SetPoint("CENTER", UIParent, "CENTER")
-- Give a title to the window
window:SetTitle("Example")
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox