adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: adonthell/test guitest.py,1.1,1.2


From: VENNIN Joel <address@hidden>
Subject: [Adonthell-commits] CVS: adonthell/test guitest.py,1.1,1.2
Date: Mon, 28 Jul 2003 13:06:10 -0400

Update of /cvsroot/adonthell/adonthell/test
In directory subversions:/tmp/cvs-serv24520/test

Modified Files:
        guitest.py 
Log Message:
Some change in py_gui.i --> Add *layout*
guitest: try layout  


Index: guitest.py
===================================================================
RCS file: /cvsroot/adonthell/adonthell/test/guitest.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** guitest.py  28 Jul 2003 12:57:05 -0000      1.1
--- guitest.py  28 Jul 2003 17:06:07 -0000      1.2
***************
*** 32,41 ****
      cont.setLocation (20, 30)
  
!     a = gui.base ()
!     a.setSize (40,20)
!     a.setLocation (30, 10)
! 
!     cont.addChild (a)
  
      ## Run this loop until letsexit is set to 1 by the
      ## callback function. Every time a key event is raised,
--- 32,46 ----
      cont.setLocation (20, 30)
  
!     for i in range (5):
!         a = gui.base ()
!         a.setSize (40,20)
!         a.setLocation (30, 10)
!         cont.addChild (a)
  
+     # set the layout
+     z = gui.layout ()
+     cont.setLayout (z)
+     
+     
      ## Run this loop until letsexit is set to 1 by the
      ## callback function. Every time a key event is raised,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]