title: Disable the List box after double click action - Python
body: <p>Made the list box to display and able to parse the selected values from listbox with the help of few sample examples, but not able to disable after selecting</p>
  
  <pre><code>def createlistBox:
  
      list1 = ['apple','mango']
  
      listBOXName = tk.Listbox(root,selectmode = "SINGLE")
      listBOXName.grid()
  
      for j in range(len(list1)):
          listBOXName.insert(tk.END,list1 [j])
  
      listBoxName.bind("&lt;Double-Button-1&gt;", selectlist1)
  
  def selectlist1(evnt):
  
      lst = evnt.widget
      index = int(lst.curselection()[0])
      value = lst.get(index)
  </code></pre>
  
  <p>I want to disable the list when it calls selectlist1</p>