all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
11
Task/Window-creation/Python/window-creation-2.py
Normal file
11
Task/Window-creation/Python/window-creation-2.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from wxPython.wx import *
|
||||
|
||||
class MyApp(wxApp):
|
||||
def OnInit(self):
|
||||
frame = wxFrame(NULL, -1, "Hello from wxPython")
|
||||
frame.Show(true)
|
||||
self.SetTopWindow(frame)
|
||||
return true
|
||||
|
||||
app = MyApp(0)
|
||||
app.MainLoop()
|
||||
Loading…
Add table
Add a link
Reference in a new issue