widgets for pygame
Project description
pgtg_widgets
it will help you quickly and easily create a user interface for your PyGame application
try to start example_demonstration.py as main
available widgets:
advice: sx/sy should be in range [1.8; 3] - these are the most elegant proportions
sc - should be pygame surface
x, y - coordinates on surface as in pygame (only int)
sx, sy - sizes of element as in pygame (only int)
grad - the degree of opacity of the element
border - border width in px (only int)
Switch
col_bor, col_off, col_on - rgb colors of border, right half and left half
state - state of switch (bool)
time_tick - delay between ticks
Button
color - color of button
text, font, text_color - button text settings
ProgressBar
col_bor, col_off, col_on - rgb colors of border, right half and left half
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pgtg_widgets-0.0.6.tar.gz
.
File metadata
- Download URL: pgtg_widgets-0.0.6.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fcba52b39d56bc7cac0b97176da92670292c8f332093d3a13f1113bff180b62 |
|
MD5 | 8878720e8116d53d8cd77c89f23bf12e |
|
BLAKE2b-256 | dcc88ee10c51f46fa4b52d2bd48c7fc59e507e5633169d418f235ad8cc53951c |
File details
Details for the file pgtg_widgets-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: pgtg_widgets-0.0.6-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550d98ddedd034fb1918d048f48c3774d3033b6c340078f32a03ed814e3555ba |
|
MD5 | a828fc068d761c51235903dee9af506d |
|
BLAKE2b-256 | c2c4390c56a8dc44549679571cc72017160c390b358c32435bac6ecd95da19f7 |