WoW:API Frame SetUserPlaced: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (→‎Details: Works with named frames created by CreateFrame)
Line 10: Line 10:


==Details==
==Details==
Does '''not''' work on frames that have been created by [[API_CreateFrame]].
Does '''not''' work on anonymous frames.
 
Named frames created by [[API_CreateFrame|CreateFrame]] must be created when the UI finish loading, for their position to be restored.


==Also See==
==Also See==
* [[API_Frame_IsUserPlaced|Frame:IsUserPlaced()]]
* [[API_Frame_IsUserPlaced|Frame:IsUserPlaced()]]

Revision as of 16:49, 22 April 2008

Widget API ← Frame < SetUserPlaced

Sets whether a frame has been moved by the user.

Frame:SetUserPlaced(isUserPlaced)

Parameters

Arguments

isUserPlaced
Boolean - true if the frame has been moved by the user, false if not

Details

Does not work on anonymous frames.

Named frames created by CreateFrame must be created when the UI finish loading, for their position to be restored.

Also See