WoW:API Frame GetFrameType

Revision as of 12:31, 7 March 2006 by WoWWiki>WoWWiki-Asmodai (Clean up entry even more and use standard notation.)
GetFrameType -Documentation by Darjk-

Synopsis

string frameType = Frame:GetFrameType();

Description

This returns the type of the frame the GetFrameType() method is used on.

It will return a string of the name of the Frame(-derived) object. For a complete list see object types

Return values

frameType
String - The name of the type, ie. "Frame"

Examples

local frameType = getglobal("QuestLogCollapseAllButton"):GetFrameType();

The above should return the string "Button" in local variable frameType.


Last updated: Patch 1.9.2

Template:WoW API