Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daniil-ak opened this issue Nov 24, 2024 · 1 comment

Comments

@daniil-ak
Copy link

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
@samuelhwilliams
Copy link
Collaborator

That currently isn't supported - Eel only accepts a size on eel.start.

Sounds like a fairly reasonable request - would be happy to review a PR if anyone wanted to add support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants