code: def add(self, window):
      window.after_idle(self.call_callbacks)
      self.dict[str(window)] = window
  
file_path: cpython/Lib/idlelib/window.py
imports: from tkinter import Toplevel, TclError
  import sys
label_desc: Use image node_id 2 for calling the WindowList obj's underlying member method code with example usage: obj.add(window) without return types