DAN_22 0 Newbie Poster

I want to display the content of selected treeview only in tkinter but when i select the treeview other treeview content also display but i want only the selected treeview to display.
I have working around to get this by the use of style widget but it display other content to which i dont want to display until i select it to display.

from tkinter import *
from tkinter import ttk
import tkinter as tk

root =Tk()
root.geometry("1000x450")

tree = ttk.Treeview(root)
tree.insert("","0","item1",text="LANGUAGE")
tree.insert("","1","item2",text="GUI")
tree.insert("item1", "0", text="pyhton")

style = ttk.Style(root)
style.configure("Treeview", rowheight=50)
tree.configure(style="Treeview")

tree.config(columns=("NOTE","book"))   
tree.column("NOTE",width=300)
tree.heading("NOTE",text="Info")
tree.column("book",width=300)
tree.heading("book",text="profile")

tree.set("item1","NOTE","Am using python version 3.6.1 \n on windows 
machine")
tree.set("item2","NOTE","This an example Tkinter Treeview in Python, which 
is from \nttk class make sure import ttk\n also from tkinter import *")

tree.pack()
root.mainloop()