Lore archive · Warcraft Wiki, 2023 dump
API Frame EnableKeyboard
Last wiki revision 2023-08-19
Allows this frame to receive keyboard input. Frame:EnableKeyboard([enable])
- enable:
- The frame must be shown to receive keyboard events.
- The top-most (as determined by EditBox input focus, strata, and frame level) keyboard-enabled frame receives keyboard events through the and script handlers. The event is also dispatched to frames below it, until it encounters frame which does not propagate keyboard input (controlled by ) at the end of its OnKey* script handler.
- Be careful: bindings are handled on the WorldFrame, which is bottom-most: thus, any keyboard-enabled frame which does not propagate keyboard input will prevent all keyboard bindings from functioning while it is visible.
Source
https://warcraft.wiki.gg/wiki/API_Frame_EnableKeyboard · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.