Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgtg_widgets-0.0.6.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

pgtg_widgets-0.0.6-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

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

Hashes for pgtg_widgets-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5fcba52b39d56bc7cac0b97176da92670292c8f332093d3a13f1113bff180b62
MD5 8878720e8116d53d8cd77c89f23bf12e
BLAKE2b-256 dcc88ee10c51f46fa4b52d2bd48c7fc59e507e5633169d418f235ad8cc53951c

See more details on using hashes here.

File details

Details for the file pgtg_widgets-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pgtg_widgets-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 550d98ddedd034fb1918d048f48c3774d3033b6c340078f32a03ed814e3555ba
MD5 a828fc068d761c51235903dee9af506d
BLAKE2b-256 c2c4390c56a8dc44549679571cc72017160c390b358c32435bac6ecd95da19f7

See more details on using hashes here.

Supported by

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