API Frame SetClampedToScreen

Prevents the frame from moving off-screen.
 Frame:SetClampedToScreen(clampedToScreen)
==Arguments==
:;clampedToScreen: - True to enable clamping, false to permit moving off-screen.
==Details==
* () defines padding within/beyond the screen edges.
* This method prevents the frame from being moved partially off-screen by the following methods:
** Any calls to ()
** User dragging after ()
** User resizing after ()
==Example==
Despite calling SetPoint() toward 100 pixels beyond the left screen edge, the SpellBookFrame remains fully visible on the screen:
SpellBookFrame:Show()
SpellBookFrame:SetClampedToScreen(true)
SpellBookFrame:SetPoint("TOPLEFT", UIParent, "TOPLEFT", -100, 0)
==Patch changes==
*