python-eel/Eel

Error in eel.show when opening a window with specified coordinates and dimensions

Open

Aperta il 24 nov 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (5980 star) (570 fork)batch import
help wanted

Descrizione

To open an additional window after call eel.start, I use the following code: eel.show('slider.html', size=(400, 200), position=(40, 40))

But I get the following error message: TypeError: show() got unexpected keyboard argument 'size'

What is the problem here? How to open an additional window of a given size and with the desired positioning?

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version: Current

Guida contributor