Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Window-creation/Python/window-creation-1.py
Normal file
4
Task/Window-creation/Python/window-creation-1.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import Tkinter
|
||||
|
||||
w = Tkinter.Tk()
|
||||
w.mainloop()
|
||||
4
Task/Window-creation/Python/window-creation-2.py
Normal file
4
Task/Window-creation/Python/window-creation-2.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import tkinter
|
||||
|
||||
w = tkinter.Tk()
|
||||
w.mainloop()
|
||||
11
Task/Window-creation/Python/window-creation-3.py
Normal file
11
Task/Window-creation/Python/window-creation-3.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()
|
||||
5
Task/Window-creation/Python/window-creation-4.py
Normal file
5
Task/Window-creation/Python/window-creation-4.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import win32ui
|
||||
from pywin.mfc.dialog import Dialog
|
||||
|
||||
d = Dialog(win32ui.IDD_SIMPLE_INPUT)
|
||||
d.CreateWindow()
|
||||
5
Task/Window-creation/Python/window-creation-5.py
Normal file
5
Task/Window-creation/Python/window-creation-5.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import gtk
|
||||
|
||||
window = gtk.Window()
|
||||
window.show()
|
||||
gtk.main()
|
||||
7
Task/Window-creation/Python/window-creation-6.py
Normal file
7
Task/Window-creation/Python/window-creation-6.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from PyQt4.QtGui import *
|
||||
|
||||
app = QApplication([])
|
||||
win = QWidget()
|
||||
win.show()
|
||||
|
||||
app.exec_()
|
||||
Loading…
Add table
Add a link
Reference in a new issue