Wikia

WoWWiki

API Frame IsFrameType

Talk0
102,239pages on
this wiki
Revision as of 23:38, July 14, 2008 by Charibot (Talk | contribs)

Widget API


Synopsis

boolean isType = Frame:IsFrameType("typeName");

Description

Frame:IsFrameType() returns true if the frame is of type typeName, or a subtype of typeName, false if not.

Examples

local isButton = getglobal("QuestLogCollapseAllButton"):IsFrameType("button");

The above should return true.

Around Wikia's network

Random Wiki