class_docstr: Modal about dialog for idle
  
      
class_docstr_tok: ["Modal","about","dialog","for","idle"]
docstr: Create popup, do not return until tk widget destroyed.
  
  parent - parent of this dialog
  title - string which is title of popup dialog
  _htest - bool, change box location when running htest
  _utest - bool, don't wait_window when running unittest
docstr_tok: ["Create","popup",",","do","not","return","until","tk","widget","destroyed",".","parent","-","parent","of","this","dialog","title","-","string","which","is","title","of","popup","dialog","_htest","-","bool",",","change","box","location","when","running","htest","_utest","-","bool",",","do","n't","wait_window","when","running","unittest"]
code: def __init__(self, parent, title=None, *, _htest=False, _utest=False):
      """Create popup, do not return until tk widget destroyed.
  
      parent - parent of this dialog
      title - string which is title of popup dialog
      _htest - bool, change box location when running htest
      _utest - bool, don't wait_window when running unittest
      """
      Toplevel.__init__(self, parent)
      self.configure(borderwidth=5)
      # place dialog below parent if running htest
      self.geometry(
          "+%d+%d"
          % (
              parent.winfo_rootx() + 30,
              parent.winfo_rooty() + (30 if not _htest else 100),
          )
      )
      self.bg = "#bbbbbb"
      self.fg = "#000000"
      self.create_widgets()
      self.resizable(height=False, width=False)
      self.title(title or f"About IDLE {pyver} ({bits} bit)")
      self.transient(parent)
      self.grab_set()
      self.protocol("WM_DELETE_WINDOW", self.ok)
      self.parent = parent
      self.button_ok.focus_set()
      self.bind("<Return>", self.ok)  # dismiss dialog
      self.bind("<Escape>", self.ok)  # dismiss dialog
      self._current_textview = None
      self._utest = _utest
  
      if not _utest:
          self.deiconify()
          self.wait_window()
  
file_path: cpython/Lib/idlelib/help_about.py
imports: import os
  import sys
  import webbrowser
  from platform import python_version, architecture
  from tkinter import Toplevel, Frame, Label, Button, PhotoImage
  from tkinter import SUNKEN, TOP, BOTTOM, LEFT, X, BOTH, W, EW, NSEW, E
  from idlelib import textview
label_desc: Use image node_id 1 to create a new AboutDialog object from inherited base classes: Toplevel with example: obj = AboutDialog(parent, title)