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
| name | type | description |
|---|---|---|
frameType | string | Type of the frame; e.g. "Frame" or "Button". |
name | string? | Globally accessible name to assign to the frame, or nil for an anonymous frame. |
parent | Frame? | Parent object to assign to the frame, or nil to be parentless; cannot be a string. Can also be set with Region:SetParent() |
template | string? | Comma-delimited list of virtual XML templates to inherit; see also a complete list of FrameXML templates. |
id | number? | 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 ↗.