![]() |
|
How to send data from imported class to Tkinter Text object in main - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Python (https://sinister.li/Forum-Python) +--- Thread: How to send data from imported class to Tkinter Text object in main (/Thread-How-to-send-data-from-imported-class-to-Tkinter-Text-object-in-main) |
How to send data from imported class to Tkinter Text object in main - redN00ws - 07-04-2013 Question: First it is difficult to upload all files, so I try to explain what my problem is... I have a main file with a Tkinter Text object that shows a log of all what's happening in the application. In that main file I import a class from an external file. The defs' in this class do several tasks for the main file. Every time a task is finished a 'def' in this class should send an update to the Tkinter Text object in the main file... Is there somebody who knows how? I can't communicate with the Text Object in the main file... Thanks... How to send data from imported class to Tkinter Text object in main - redN00ws - 07-04-2013 Question: First it is difficult to upload all files, so I try to explain what my problem is... I have a main file with a Tkinter Text object that shows a log of all what's happening in the application. In that main file I import a class from an external file. The defs' in this class do several tasks for the main file. Every time a task is finished a 'def' in this class should send an update to the Tkinter Text object in the main file... Is there somebody who knows how? I can't communicate with the Text Object in the main file... Thanks... RE: How to send data from imported class to Tkinter Text object in main - redN00ws - 07-05-2013 After a night, lying in my bad, awake... I solved it myself... RE: How to send data from imported class to Tkinter Text object in main - Linuxephus™ - 07-05-2013 Thread marked as Solved and Closed accordingly. |