code: def done(self, num):
      self.num = num
      self.root.quit()
  
imports: from tkinter import *
  from tkinter import _get_temp_root, _destroy_temp_root
  from tkinter import messagebox
label_desc: Use image node_id 5 for calling the SimpleDialog obj's underlying member method code with example usage: obj.done(num) without return types