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
Always-in-front / Always-on-top window, on Windows #476
Comments
pywebview/webview/platforms/winforms.py Line 465 in 48edc2a
In winforms.py, in Is that an accurate evaluation of the current status? If so, I perhaps would be down to contribute, but would need some guidance. Is this feature even a candidate for you to accept a PR about? If so, how would you want this feature designed, for you to accept such a PR? |
This feature is not implemented, but I gladly welcome a PR. |
Fantastic, thanks! |
If I implement this for Windows-only and document that it's Windows-only for now, is that fine? I think I can bang it out on Windows no problem, but researching and testing on other OSes will be more of a hassle (I don't even have a Mac for example) EDIT: |
Hey, thank you for this great package! I followed this issue with great interest. I am looking for a solution (on Windows, non-fullscreen), to implement:
I think I can implement this with the topmost solution. Or is there a better way to do this? Edit: I just saw, that there is a "bring_to_front" method in winforms. Thats maybe closer to what I need. My appologies if I overlooked this in the documentation! |
@tschnibo What are you trying to achieve exactly? |
@r0x0r Sorry for the late reply. So the essential problem I'd like to solve is the 'bring to front' for a pywebview window. The unhiding part is already working. |
Just to be clear, do you want to implement a splash screen?
… |
Hey, I used pywebview together with pysimplegui and wanted to enable the user to show the pywebview window when clicked on a button in pysimplegui then, when the pywebview window was closed again, in the background a new pywebview window would be created as "hidden" and shown again when the button is clicked. This sort of worked, but the window did not come to front but just opened behind the pysimplegui window and other open windows. Now I moved on to a completely different solution without pywebview and pysimplegui. I'm sure I'll be using your package another time again - thank you very much! |
Implemented Cocoa. |
PR here. I will keep it open for a couple of days, if somebody would like to take a look. |
Specification
Description
Not an issue so much as a question. Is it possible to keep a window in front of all other windows, for example for a small control panel in the corner? tkinter has something like
.wm_attributes("-topmost", 1)
to keep a window in front. Maybe Python has a way to do this via some Windows api, even if it's not part of pywebview api.Practicalities
YES/NO I am willing to work on this issue myself.
YES/NO I am prepared to support this issue financially.
N/A just asking a question.
The text was updated successfully, but these errors were encountered: