docstr: message - string, informational message to display
  used_names - string collection, names already in use for validity check
  _htest - bool, change box location when running htest
docstr_tok: ["message","-","string",",","informational","message","to","display","used_names","-","string","collection",",","names","already","in","use","for","validity","check","_htest","-","bool",",","change","box","location","when","running","htest"]
code: def __init__(self, parent, title, message, used_names, _htest=False):
      """
      message - string, informational message to display
      used_names - string collection, names already in use for validity check
      _htest - bool, change box location when running htest
      """
      Toplevel.__init__(self, parent)
      self.configure(borderwidth=5)
      self.resizable(height=FALSE, width=FALSE)
      self.title(title)
      self.transient(parent)
      self.grab_set()
      self.protocol("WM_DELETE_WINDOW", self.Cancel)
      self.parent = parent
      self.message = message
      self.used_names = used_names
      self.create_widgets()
      self.withdraw()  # hide while setting geometry
      self.update_idletasks()
      # needs to be done here so that the winfo_reqwidth is valid
      self.messageInfo.config(width=self.frameMain.winfo_reqwidth())
      self.geometry(
          "+%d+%d"
          % (
              parent.winfo_rootx()
              + (parent.winfo_width() / 2 - self.winfo_reqwidth() / 2),
              parent.winfo_rooty()
              + (
                  (
                      parent.winfo_height() / 2
                      - self.winfo_reqheight() / 2
                  )
                  if not _htest
                  else 100
              ),
          )
      )  # centre dialog over parent (or below htest box)
      self.deiconify()  # geometry set, unhide
      self.wait_window()
  
file_path: catboost/contrib/tools/python/src/Lib/idlelib/configSectionNameDialog.py
imports: from Tkinter import *
  import tkMessageBox
label_desc: Use image node_id 1 to create a new GetCfgSectionNameDialog object from inherited base classes: Toplevel with example: obj = GetCfgSectionNameDialog(parent, title, message, used_names, _htest)