updated defaults of frame argument
m (Added comment on units.) |
(updated defaults of frame argument) |
||
| Line 8: | Line 8: | ||
obj:SetPoint(point, x, y); | obj:SetPoint(point, x, y); | ||
obj:SetPoint(point, frame, relativePoint , x, y); | obj:SetPoint(point, frame, relativePoint , x, y); | ||
---- | ---- | ||
| Line 19: | Line 17: | ||
; frame | ; frame | ||
: the name of the frame to attach the obj to, an actual frame variable can also be used (can be "UIParent" to attach it to the screen itself) | : the name of the frame to attach the obj to, an actual frame variable can also be used (can be "UIParent" to attach it to the screen itself) | ||
: defaults to the parent of obj when not specified | : defaults to the parent of obj when not specified, or the screen (not UIParent) when obj does not have a parent | ||
; relativePoint | ; relativePoint | ||