[Tutor] gui menu

Essah Mitges e_mitges at hotmail.com
Sun Jun 7 20:36:10 CEST 2009


import sys, pygame
pygame.init()
background = pygame.image.load(""My png image 800x 532)
backgroundRect = background.get_rect()
size = (width, height) = background.get.size()
screen = pygame.display.set_mode(size)
screen.blit(background, backgroundRect)
pygame.display.flip()
I want to use pygame to create 4 buttons from 175x67 png image
one button that initiates the Team.py fileone button that links to read a hs.txtone button that initiates 800x532 png image in a new windowone button that quits pygame window
_________________________________________________________________
Windows Live helps you keep up with all your friends, in one place.
http://go.microsoft.com/?linkid=9660826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090607/d89e4941/attachment.htm>


More information about the Tutor mailing list