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
|