-
Notifications
You must be signed in to change notification settings - Fork 26
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
[New Feature]Always on top #68
Comments
There's no real need to add this to the tracker, as this can be accomplished in literally one line using AutoHotkey:
|
This lists how to add this option: http://stackoverflow.com/questions/1482565/how-to-make-python-window-run-as-always-on-top It seems it would only take adding 2 additional lines? Something like:
|
when i call that function, it can successfully set the size and position, but it doesn't do the always-on-top |
I forgot to post it there, when looking for a platform independent solution I found this : If using a pygame extension is fine I could take a look at this in like 2 weeks. |
I forgot to say that I looked into it. Long version : WindowsThe extension is pretty straightforward, basically it does what Zam said : from ctypes import windll
windll.user32.SetWindowPos(pygame.display.get_wm_info()['window'], -1, 0, 0, 0, 0, 0x0003) (the LinuxIt's... complicated. |
That would be great to add an option "always on top" that would keep the item tracker windows at the top of the windows.
It would be even better if it could be on top of the game when fullscreen, but I don't think this is feasible.
The text was updated successfully, but these errors were encountered: