Skip to main content

Python wrapper for setwindowpos.

Project description

pysetwindowpos

Python wrapper for setwindowpos Windows API. MS Windows only.

Currently, this supports only setting a window as topmost (i.e., always on top). Other invocations of SetWindowPos should be relatively easy to add.

A tkinter example is built in and can by run by executing

py -m pysetwindowpos.setwindowpos

Hacking

To use a development copy of the package as a dependency, navigate to the directory where the pyproject.toml file is and run:

pip install -e .

The blank setup.cfg is needed for this to work.

TODO

  1. Prevent RuntimeWarning when running py -m pysetwindowpos.setwindowpos (use __main__?).

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

pysetwindowpos-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysetwindowpos-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pysetwindowpos-0.1.0.tar.gz.

File metadata

  • Download URL: pysetwindowpos-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pysetwindowpos-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef9cad781632bbb3abb0c4c66b57da2e5e490768233c8700a0b244d7b37a582b
MD5 4e3c7544124a16848caf164a99127f33
BLAKE2b-256 f711c337eb9f0be4588f5ace1eadd14ba32b0cbbfcb220ae7b187852f3287219

See more details on using hashes here.

File details

Details for the file pysetwindowpos-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pysetwindowpos-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pysetwindowpos-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50cab25dc1a3882f788d73b175d455b71eae05002a895f34273f1a29ac594111
MD5 9d174f4c2668ce4c9d3bb75131439d89
BLAKE2b-256 2433e11a2a03227e40414e04c6033396e71c2cf6c5e9968f1a55520348917167

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page