WoW:API Frame IsUserPlaced: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Robot: Removing selflinks)
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 -->
Returns whether the frame has been moved by the user.
Returns whether the frame has been moved by the user.


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


== Parameters ==
== Parameters ==
=== Arguments ===
<!-- List each argument, together with its type -->
''none''
=== Returns ===
=== Returns ===
<!-- List each return value, together with its type -->
;userPlaced : Boolean - true if the user moved the frame (i.e. [[API_Frame_SetUserPlaced|Frame:SetUserPlaced]](true) was called earlier)
 
:;userPlaced : Boolean - true if the user moved the frame (i.e. [[API_Frame_SetUserPlaced|Frame:SetUserPlaced]](true) was called earlier)
 


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

Revision as of 03:54, 20 August 2007

Widget API ← Frame < IsUserPlaced

Returns whether the frame has been moved by the user.

userPlaced = Frame:IsUserPlaced()

Parameters

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.