python-eel/Eel

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

Open

#751 ouverte le 24 nov. 2024

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (5 980 stars) (570 forks)batch import
help wanted

Description

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

Guide contributeur