WoW:API Frame IsUserPlaced: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created documentation on IsUserPlaced, after frustrating myself for 2 hours determining that it doesn't work on dynamic frames :))
 
m (Robot: Removing selflinks)
Line 6: Line 6:


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  userPlaced = [[API_Frame_IsUserPlaced|Frame:IsUserPlaced()]]
  userPlaced = '''Frame:IsUserPlaced()'''





Revision as of 21:50, 23 January 2007

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.