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

Re: [pygame] Tutorial... GUI



On, Wed Sep 26, 2007, RR4CLB wrote:

[Example request]

I attached a small OcempGUI example script, which will create two
buttons on a pygame window and print their text to the console whenever
they receive focus. The code aligns them beneath each other using a
spacing of 10 pixels between them.
The TAB key cycles the input focus between the buttons.

Regards
Marcus

Attachment: pgp4HcmJfFcWj.pgp
Description: PGP signature