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:
[email protected]:~/Desktop$ python
Traceback (most recent call last):
File "", line 45, in <module>
AttributeError: 'module' object has no attribute 'locals'
[email protected]:~/Desktop$
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
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

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