SimpleWindow
A package to easily create and manage windows in Python
Installation
pip install SimpleWindow
Usage
import SimpleWindow
import numpy as np
# initialize the window, the window wont be shown until show() is called
window = SimpleWindow.Window(name="Example Window",
size=(1280, 720),
position=(100, 100),
title_bar_color=(0, 0, 0),
border_color=(None, None, None), # None so we don't overwrite the windows default color
resizable=True,
topmost=False,
foreground=True,
minimized=False,
undestroyable=False,
icon="",
no_warnings=False)
# create an image
image = np.zeros((720, 1280, 3), dtype=np.uint8)
while True:
# the window will be shown now since its the first call of show()
window.show(frame=image)
# check if the window is open
if window.get_open() == False:
break
Metadata
Release files for SimpleWindow 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simplewindow-1.1.tar.gz | 43.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simplewindow-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.6 kB
Release files / simplewindow-1.1.tar.gz
| Download URL | simplewindow-1.1.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05912782a23e5c4e87433fcc963cdd5f7fc1d9b437e0eefba495bed8b937edc7
|
|
BLAKE2b-256 checksum How to use checksums |
7489da7a71a88df74e8a7158bc6ab5e7cd29c45b512d9923728aa8a620177b87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / simplewindow-1.1-py3-none-any.whl
| Download URL | simplewindow-1.1-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3336444d713548e25802957b9b1727c181496e5d87336a42a3cf86c9af6df8a
|
|
BLAKE2b-256 checksum How to use checksums |
ce7f60ca2def63dc30f691a6feebf30da08f09d29de0a65f1e1e48ee71a87939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|