Changes: API Frame IsFrameType


Back to page

m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
Line 1: Line 1:
== Synopsis ==
== Synopsis ==

Latest revision as of 23:59, July 14, 2008

Widget API ← Frame < IsFrameType

Synopsis Edit

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

Description Edit

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

Examples Edit

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

The above should return true.

Around Wikia's network

Random Wiki