Eel icon indicating copy to clipboard operation
Eel copied to clipboard

How to use tkinter to open eel ?

Open ghost opened this issue 4 years ago • 2 comments

Hi, I would like to know if it was possible to run eel in a tkinter application to get a cleaner result.

Thank you in advance for your response !

ghost avatar Aug 25 '21 23:08 ghost

The question is not entirely correct, but use 2 functions with initialization of tkinter and eel.

tapxyh4ik avatar Oct 01 '21 04:10 tapxyh4ik

You could make use of any widget or a button that calls the method to start the html file. Firstly, you should import the eel and threading libraries (since "threading" is used to prevent the tkinter application from crashing).

This calls the html file via "eel":

eel.start('index.html')

CristoferEze avatar Aug 20 '23 02:08 CristoferEze