RSS

Четверг, 09.05.2024, 03:20
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

anchor = GameTooltip:GetAnchorType()

[ править ]
Returns the method for anchoring the tooltip relative to its owner.
[клоны]
Returns the method for anchoring the tooltip relative to its owner.


Signature:
Code
anchor = GameTooltip:GetAnchorType()

Returns:
  • anchor - Token identifying the method for anchoring the tooltip relative to its owner frame (string)
      ANCHOR_BOTTOMLEFT - Align the top right of the tooltip with the bottom left of the owner
    • ANCHOR_CURSOR - Toolip follows the mouse cursor
    • ANCHOR_LEFT - Align the bottom right of the tooltip with the top left of the owner
    • ANCHOR_NONE - Tooltip appears in the default position
    • ANCHOR_PRESERVE - Tooltip's position is saved between sessions (useful if the tooltip is made user-movable)
    • ANCHOR_RIGHT - Align the bottom left of the tooltip with the top right of the owner
    • ANCHOR_TOPLEFT - Align the bottom left of the tooltip with the top left of the owner
    • ANCHOR_TOPRIGHT - Align the bottom right of the tooltip with the top right of the owner

Также смотрите: Внутриигровая подсказка
Ссылки: http://wowprogramming.com/docs/widgets/GameTooltip/GetAnchorType