ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
[Tutor] MineSweeper
by Alberto Troiano other posts by this author
Jun 25 2005 10:02AM messages near this date
Re: [Tutor] wxPython shaped window | Re: [Tutor] MineSweeper
Hey Tutors
I have a question
I want to make a minesweeper (just for practice) but I don't what can I use 
to make the GUI
I was thinking about buttons (click event you know) and change the 
background image on change
Maybe there's another widget to use
My doubt is that I want to be able to allow the user to put how many bombs 
they want and how any spaces (how big is the board) so I will have to create 
buttons dinamically, but in doing this the reference to the buttons will be 
lost
How do I know which button did I click when all buttons have the same name?
Does this make sense?
I recall in VB.6.0 the control matrix but I never knew how to use it

Any help?

Thanks in advanced

Alberto


_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Alberto Troiano
Danny Yoo
Adam Cripps

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved