class_docstr: Class to open dialogs.
  
  This class is intended as a base class for custom dialogs
class_docstr_tok: ["Class","to","open","dialogs",".","This","class","is","intended","as","a","base","class","for","custom","dialogs"]
docstr: add standard button box.
  
  override if you do not want the standard buttons
docstr_tok: ["add","standard","button","box",".","override","if","you","do","not","want","the","standard","buttons"]
code: def buttonbox(self):
      """add standard button box.
  
      override if you do not want the standard buttons
      """
  
      box = Frame(self)
  
      w = Button(
          box, text="OK", width=10, command=self.ok, default=ACTIVE
      )
      w.pack(side=LEFT, padx=5, pady=5)
      w = Button(box, text="Cancel", width=10, command=self.cancel)
      w.pack(side=LEFT, padx=5, pady=5)
  
      self.bind("<Return>", self.ok)
      self.bind("<Escape>", self.cancel)
  
      box.pack()
  
imports: from tkinter import *
  from tkinter import _get_temp_root, _destroy_temp_root
  from tkinter import messagebox
label_desc: Use image node_id 4 for calling the Dialog obj's underlying member method code with example usage: obj.buttonbox() without return types