Frame:GetPropagateKeyboardInput

From Warcraft Wiki
Jump to navigation Jump to search

Returns whether the frame propagates keyboard events.

propagate = Frame:GetPropagateKeyboardInput()

Returns

propagate
boolean - true if the frame propagates keyboard input, false if the frame consumes keyboard input.

Details

  • The value returned by this function are only meaningful for keyboard-enabled widgets.
  • Frames that propagate keyboard input allow the OnKeyDown/OnKeyUp script handlers of further keyboard-enabled widgets to run; frames that consume keyboard input do not.