RSS

Понедельник, 23.12.2024, 17:29
Главная » WoW API » API Виджеты » Фрейм »

Frame:SetUserPlaced(enable)

[ править ]
Flags the frame for automatic saving and restoration of position and dimensions.
[клоны]
Flags the frame for automatic saving and restoration of position and dimensions. The position and size of frames so flagged is automatically saved when the UI is shut down (as when quitting, logging out, or reloading) and restored when the UI next starts up (as when logging in or reloading). If the frame does not have a name (set at creation time) specified, its position will not be saved. As implied by its name, enabling this property is useful for frames which can be moved or resized by the user.

This function is automatically called with the value true when frame:StartMoving() is called.


Signature:
Code
Frame:SetUserPlaced(enable)

Arguments:
  • enable - True to enable automatic saving and restoration of the frame's position and dimensions; false to disable (boolean)

Также смотрите: Фрейм
Ссылки: http://wowprogramming.com/docs/widgets/Frame/SetUserPlaced