class_docstr: Example of integrating with Tkinter.
code: def onButtonClick(self):
      contract = eval(self.entry.get())
      cds = self.ib.reqContractDetails(contract)
      self.text.delete(1.0, tk.END)
      self.text.insert(tk.END, str(cds))
  
file_path: ib_insync/examples/tk.py
imports: import asyncio
  import tkinter
  from ib_insync import IB, util
  from ib_insync.contract import *
label_desc: Use image node_id 2 for calling the TkApp obj's underlying member method code with example usage: obj.onButtonClick() without return types