code: def _current_window_for_event(event):
      """
      Return the `Window` for the currently focussed Buffer.
      """
      return find_window_for_buffer_name(
          event.cli, event.cli.current_buffer_name
      )
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/key_binding/bindings/scroll.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.layout.utils import find_window_for_buffer_name
  from six.moves import range
label_desc: Use image node_id 1 for calling a global function with example usage: _current_window_for_event(event) and returns: find_window_for_buffer_name