Lore archive · Warcraft Wiki, 2023 dump
API Frame SetPropagateKeyboardInput
Last wiki revision 2023-08-24
Sets whether keyboard input is consumed by this frame or propagates to further frames. Frame:SetPropagateKeyboardInput(propagate)
- propagate: - true to propagate keyboard input further, false to consume keyboard input immediately.
- Keyboard events are dispatched to the / script handlers of frames based on their layering order, stopping upon encountering the first frame which consumes input rather than propagates it.
- Keyboard bindings are handled by the WorldFrame, so if any non-propagating keyboard-enabled frame is visible, no keyboard bindings can be triggered.
- You can call this function from script handlers to consume only some keyboard events. If your frame propagates handling of the OnKeyDown event, it will not receive the OnKeyUp event.
Source
https://warcraft.wiki.gg/wiki/API_Frame_SetPropagateKeyboardInput · 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.