WoW:API Frame SetUserPlaced: Difference between revisions
Jump to navigation
Jump to search
m (→Details: Works with named frames created by CreateFrame) |
No edit summary |
||
Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
Sets whether a frame has been moved by the user. | Sets whether a frame has been moved by the user (and will thus be saved in the layout cache). | ||
Frame:SetUserPlaced(isUserPlaced) | Frame:SetUserPlaced(isUserPlaced) |
Revision as of 19:08, 23 October 2008
← Widget API ← Frame < SetUserPlaced
Sets whether a frame has been moved by the user (and will thus be saved in the layout cache).
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.