WoW:API Frame SetUserPlaced: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Docs analogous to API_Frame_IsUserPlaced)
 
No edit summary
Line 1: Line 1:
{{widgetmethod}} __NOTOC__
{{widgetmethod}}


<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Sets whether a frame has been moved by the user.
Sets whether a frame has been moved by the user.


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
Frame:SetUserPlaced(isUserPlaced)
Frame:SetUserPlaced(isUserPlaced)
 


== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
<!-- List each argument, together with its type -->
;isUserPlaced : Boolean - true if the frame has been moved by the user, false if not
:(isUserPlaced)
 
:;isUserPlaced : Boolean - true if the frame has been moved by the user, false if not
 


==Details==
==Details==
<!-- Details not appropriate for the main description can go here.
Does '''not''' work on frames that have been created by [[API_CreateFrame]].
    REMOVE the section if you're just going to restate the intro line! -->
 
: Does '''not''' work on frames that have been created by [[API_CreateFrame]].
 


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

Revision as of 03:53, 20 August 2007

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 frames that have been created by API_CreateFrame.

Also See