v0.13.8

CreateFrame

functionimplementedavailable in: camelot

Creates a Frame object.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
frameTypestringType of the frame; e.g. "Frame" or "Button".
namestring?Globally accessible name to assign to the frame, or nil for an anonymous frame.
parentFrame?Parent object to assign to the frame, or nil to be parentless; cannot be a string. Can also be set with Region:SetParent()
templatestring?Comma-delimited list of virtual XML templates to inherit; see also a complete list of FrameXML templates.
idnumber?ID to assign to the frame. Can also be set with Frame:SetID()

Returns

frame · Frame · The created Frame object or one of the other frame type objects.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.