python-eel/Eel

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

Aperta

#751 aperta il 24 nov 2024

 (1 commento) (0 reazioni) (0 assegnatari)Python (570 fork)batch import
help wanted

Metriche repository

Star
 (5980 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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