mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Committed a more or less working version.
This commit is contained in:
parent
80ffd6683c
commit
17448e2408
56 changed files with 12110 additions and 0 deletions
17
Mac/Lib/test/tctl.py
Normal file
17
Mac/Lib/test/tctl.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# play with controls
|
||||
|
||||
from Dlg import *
|
||||
from Ctl import *
|
||||
from Win import *
|
||||
from Evt import *
|
||||
import time
|
||||
|
||||
def main():
|
||||
r = (40, 40, 400, 300)
|
||||
w = NewWindow(r, "The Spanish Inquisition", 1, 0, -1, 1, 0x55555555)
|
||||
w.DrawGrowIcon()
|
||||
r = (40, 40, 100, 60)
|
||||
c = NewControl(w, r, "SPAM!", 1, 0, 0, 1, 0, 0)
|
||||
|
||||
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue