From: Travis R. <rt...@vt...> - 2006-07-11 23:07:32
|
Hello, One possible way of doing this is to study some of the other examples =20= that handle UI events; such as "doodle" etc. --- Travis Rose rt...@vt... On Jul 11, 2006, at 6:57 PM, Martin wrote: > I was astonished by the simplicity of the turtle, and is the =20 > perfect base to learn PythonCard UI, because you can see right away =20= > what your code is doing, however, im trying to connect an external =20 > dialog to "remote control" the turtle, but it seems that the events =20= > are not reaching the main loop, what can i do? > (The example code was not changed in any way) > adj: code > > in the embebedd PyCrust: > > import turtleMover as tm > dlg =3D tm.MyDialog(None,t) #t is the default turtle > tm.visible =3D True > > The dialog appears, it's usable, but nothing happens :( > what i did wrong? what is missing? > how can i process the events of the custom dialog in the already =20 > running turtle example? > I dont know if the rsrc and the events code are ok. > > i need so much help :P (a poor n00b trying to learn) > > Thanks in advance > > --- > Mart=EDn Ren=E9 Vilugr=F3n > http://maul3r.blogspot.com > Patagonia Argentina > <turtleMover.py> > <turtleMover.rsrc.py> > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users |