[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] textboxes and buttons



The two main GUI toolkits for pygame seem to be OcempGUI and pgu. Take a look at these, but if you just need two textboxes for a login, it'd probably be easier just to code them yourself, rather then trying to learn a new library.

On 2/20/07, Chris Van Bael <chris.van.bael@xxxxxxxxx> wrote:
On 2/21/07, Matthieu TC <matthieutc@xxxxxxxxx> wrote:
> Hi list,
> I want to add textboxes and buttons to my pygame game. For example, I want to ask for a username and a password and offer 'register' and 'login' buttons.
>
> Is there a standard way/component to do this?
>
> I have looked at 'pgu' but it is a bit overkill and I'm not sure how to blend it into my own GUI.
>
> Any thoughts?
>
> -matt

Hi Matt,

I don't know of a standard way of doing this in PyGame, but OCempGui
is in fact a nice GUI toolkit for PyGame.
http://ocemp.sourceforge.net/gui.html

Chris