RSS

Пятница, 29.03.2024, 16:18
Главная » WoW API » API Виджеты » Фрейм »

TabardModel:SetMovable(enable)

[ править ]
Sets whether the frame can be moved by the user.
[клоны]
Sets whether the frame can be moved by the user. Enabling this property does not automatically implement behaviors allowing the frame to be dragged by the user -- such behavior must be implemented in the frame's mouse script handlers. If this property is not enabled, Frame:StartMoving() causes a Lua error.

For simple automatic frame dragging behavior, see Frame:CreateTitleRegion().


Signature:
Code
Frame:SetMovable(enable)

Arguments:
  • enable - True to allow the frame to be moved by the user; false to disable (boolean)

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