PygameWidgets
PygameWidgets copied to clipboard
A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.
Update button.py to re-render text when the font changes
Overrides setX, setY, setWidth, setHeight to appropriately update the DropdownChoice and HeadDropdown properties when the Dropdown object is updated.
I'm building spacecraft controls, called Xcontrols and have created many widgets. I'm willing to move them to the style you use here for Pygame_Widgets I would rather just off load...
https://github.com/AustL/PygameWidgets/assets/64307642/344b4aaa-2e2a-425b-86b6-eb2aa2788878
For me buttons are only working when put in the main surface, if i make another surface and blit in on the main surface the button stops working **Version Numbers**...
import os import sys import pygame import pygame_widgets from pygame_widgets.button import Button from pygame_widgets.dropdown import Dropdown import requests as requests from pygame_widgets_plus.textbox import TextBox pygame.init() toponym_coodrinates = input('Введите координаты: ').split(',')...
Since that nice library can work on the web https://pygame-web.github.io/showroom/pypad.html#src/test_pygame_widgets.py I think it would be great to somehow demonstrate all widgets in a single demo.
Check this out : https://keepachangelog.com/en/1.1.0/ I think this could really benefit the project. Here is a personal exemple https://github.com/slashformotion/hugo-tufte/blob/master/CHANGELOG.md
I'm very new to python, pygame, etc, so maybe I missed something big. I'm using pylance and mypy to do static analysis, and they don't seem to be finding a...