RSS

Понедельник, 30.12.2024, 20:35
Главная » WoW API » Событий API Виджетов »

OnKeyDown

[ править ]
Run when a keyboard key is pressed if the frame is keyboard enabled.
[клоны]
Run when a keyboard key is pressed if the frame is keyboard enabled. Does not run for focused EditBoxes.


Signature:
Code
OnKeyDown(self, "key")

Arguments:
  • self - Reference to the widget for which the script was run (frame)
  • key - Name of the key pressed (string, binding)

Доступна для: Frame, ArchaeologyDigSiteFrame, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, Model, MovieFrame, QuestPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, PlayerModel, DressUpModel, TabardModel

Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnKeyDown