what does 0 mean in MyApp(0)

James Stroud jstroud at mbi.ucla.edu
Thu Oct 20 01:58:28 CEST 2005


From Google:

Results 1 - 10 of about 1,340,000,000 for 0. (0.09 seconds)

James

On Friday 30 September 2005 07:15, Alex wrote:
> 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?
>
> Alex

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list