pygame is
Simple DirectMedia Layer is
Site Swing

TextWidget - 0.1

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:


Home Page:


click to view original size


TextWidget - 0.11 - Nov 21, 2008
TextWidget - 0.1 - Sep 21, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

November 19, 2009 7:24am - Marco Baxemyr - nickname: (phelerox)
Just noting that the filename in the 0.11 download @ Google Code is, not as the Changes state. And the svn trunk requires authentication - not sure if that's the way it's intended.
September 24, 2008 9:59am - Mark Mruss - nickname: (selsine)
Hey Anonymous,

Thanks for the suggestion. I do have a blog post (noted above) that outlines how it works, but I do plan on putting more information in the TextWidget "distribution". (heavy quotes)
September 24, 2008 9:58am - Mark Mruss - nickname: (selsine)
Hi Shiroku,

Thanks for the information, it must be a problem with versions of PyGame. I've fixed the issue. You can grab the latest version (not much of a change) from the SVN server:
September 23, 2008 2:53pm - Shiroku - nickname: (shiroku)
I get this error:
fra@kubuntu:~/Desktop$ python
Traceback (most recent call last):
File "", line 45, in <module>
AttributeError: 'module' object has no attribute 'locals'
September 21, 2008 5:27pm - Anonymous - nickname: (pywiz32)
GREAT idea. My suggestion: also include an easy-to-read example on how to do it without using your class. That way people an learn do do so on their own.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Oct 1, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

Aug 21, 2015

Aug 16, 2015

Jul 30, 2015

Jun 24, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)