Widget API: Frame:IsUserPlaced

Revision as of 17:41, 29 July 2006 by WoWWiki>Fritti (Created documentation on IsUserPlaced, after frustrating myself for 2 hours determining that it doesn't work on dynamic frames :))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← Frame < IsUserPlaced


Returns whether the frame has been moved by the user.

userPlaced = Frame:IsUserPlaced()


Parameters

Arguments

none

Returns

userPlaced
Boolean - true if the user moved the frame (i.e. Frame:SetUserPlaced(true) was called earlier)


Details

Does not work on frames that were created by CreateFrame.