[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] creating user events
- To: pygame-users@seul.org
- Subject: [pygame] creating user events
- From: sashan <sashang@ihug.co.nz>
- Date: Sat, 25 Oct 2003 13:25:06 +1300
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 24 Oct 2003 20:26:21 -0400
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
At the moment I'm creating user events like this :
some_event = pygame.event.Event(pygame.USEREVENT+2)
pygame.event.post(some_event)
Is there a better way?