Fandom

WoWWiki

API Frame GetFrameType

104,642pages on
this wiki
Add New Page
Talk3 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← Frame < GetFrameType

Synopsis Edit

string frameType = Frame:GetFrameType();

Description Edit

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 Edit

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

Examples Edit

local frameType = QuestLogCollapseAllButton:GetFrameType();

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

Notes Edit

  • This method may not exist for all Frames.

Also on Fandom

Random Wiki