Makes Kivy windows stay on top of other windows.
Project description
KivyOnTop
Makes Kivy windows stay on top of others. Works by manipulating window tags via win32gui library. Install with python -m pip install KivyOnTop.
Note: This wrapper only supports the Windows platform at the moment.
Features
- set and reset the always on top flag for a Kivy window
Usage example
from kivy.App import App
from kivy.core.window import Window
from KivyOnTop import register_topmost, unregister_topmost
TITLE = 'KivyOnTop'
class KivyontopApp(App):
def on_start(self, *args):
Window.set_title(TITLE)
# Register top-most
register_topmost(Window, TITLE)
# Unregister top-most (not necessary, only an example)
self.bind(on_stop=lambda *args, w=Window, t=TITLE: unregister_topmost(w, t))
if __name__ == '__main__':
app = KivyontopApp()
app.run()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
KivyOnTop-1.4.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file KivyOnTop-1.4.tar.gz.
File metadata
- Download URL: KivyOnTop-1.4.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d10f964739d063bea521938d1d32e39d2d86fe3e988ac3e466b929e2cce226d
|
|
| MD5 |
84508dac26bc0abc7b598f7d1af44120
|
|
| BLAKE2b-256 |
195481798d04967c038e96a0f0e9a479a10a0acf62e5843987c4e175cacac39c
|
File details
Details for the file KivyOnTop-1.4-py3-none-any.whl.
File metadata
- Download URL: KivyOnTop-1.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba0472adc1c40c1507f426be2262130a8dc57a16f3f25575891fb80b054d785f
|
|
| MD5 |
dbc495bfa3c9266f7337217242ce54f8
|
|
| BLAKE2b-256 |
be660dd3490c9b333e5abeefb6dcd1e98931d7b901535588060c50d6498dff9c
|