Re: [Tutor] Clickable listbox opening .txt files

2016-01-14 Thread Alan Gauld
On 14/01/16 11:39, Ali Moradi wrote: > Hi, you said my click event grabs text and doesn't show it. So how do get > it to show on the Text widget? Your text widget is calloed text. So simply insert the text into the widget using text.insert(END,file) at the end of your click handler. > def click

[Tutor] Clickable listbox opening .txt files

2016-01-14 Thread Ali Moradi
Hi, you said my click event grabs text and doesn't show it. So how do get it to show on the Text widget? So that when i clicked on item 1, 1.txt shows on the Text widget. I can't connect click event to Text widget from Tkinter import * root = Tk() root.title("Renkontoj kun Diferenculoj") root.icon