Re: what does 0 mean in MyApp(0)
- From: "vincent wehren" <vincent@xxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 16:37:03 +0200
"Alex" <lidenalex@xxxxxxxx> schrieb im Newsbeitrag
news:1128089733.684329.101320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| I'm looking at a tutorial with the code below
|
| from wxPython.wx import *
|
| class MyApp(wxApp):
| def OnInit(self):
| frame = wxFrame(NULL, -1, "winApp", size = (800,640))
| frame.Show(true)
| self.SetTopWindow(frame)
| return true
|
| app = MyApp(0)
| app.MainLoop()
|
| Everything is explained nicely except the zero parameter in MyApp(0).
| Anybody knows what that zero refers to?
See:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/334620
|
--
Vincent Wehren
| Alex
|
.
- Follow-Ups:
- Re: what does 0 mean in MyApp(0)
- From: Alex
- Re: what does 0 mean in MyApp(0)
- Prev by Date: Re: [Info] PEP 308 accepted - new conditional expressions
- Next by Date: Re: New Python chess module
- Previous by thread: Re: [Info] PEP 308 accepted - new conditional expressions
- Next by thread: Re: what does 0 mean in MyApp(0)
- Index(es):
Relevant Pages
|