TextWidget - 0.11
Mark Mruss (selsine)
TextWidget: is a simple way to create "text buttons" for your PyGame applications. The project is LGPL so you can use it in any project that you want.
It's pretty simple stuff so it's not meant to be the definitive way to do this, just a simple solution for people that just want to drop a class in and have working "text buttons".
You can read about how to use the widget on on my blog: http://www.learningpython.com/2006/12/13/textwidget-a-simple-text-class-for-pygame/
- Added the example code
- Changed the way that the font_filename was handled, now the full path is tested first
- Added the message types
- Added the ability to turn the messages off
- renamed the .py file to be textwidget.py instead of TextWidget.py to conform with PEP 8.
- Fixed a bug where pygame.locals.USEREVENT was not defined for some people. Switched to used pygame.USEREVNT.
click to view original size
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
Dec 5, 2013
Dec 3, 2013
Dec 1, 2013
Nov 30, 2013
Nov 28, 2013
Nov 27, 2013
Nov 25, 2013
Nov 19, 2013
Nov 17, 2013
Nov 16, 2013
Nov 14, 2013