Frame:SetAllPoints()

From Riftui Wiki

Jump to: navigation, search

Binds all of the element's point to the points of the target element. See [Frame:SetPoint]] for more information on points.

Contents

Signature

frame:SetAllPoints(target)

Parameters

target (frame, context) - A frame or context to bind all points to. See Frame:SetPoint() for more information on frame points.

Return Value

None

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
-- Match the new frame to size the context --
frame:SetAllPoints(context)
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox