logo       

Re: Python and Quickdraw: msg#00125

python.apple

Subject: Re: Python and Quickdraw


On 21 May 2004, at 18:48, Stephanie Schaeffer wrote:

Does anyone have a small example of making a window and drawing on it using Python and Quickdraw that they could give me? I can draw, and I can make windows, but I can't seem to make the drawing come out on the windows ...

Do you go into the event loop? Since OSX drawing is normally double-buffered, and nothing is actually show until you go into the event loop.

The best source of example quickdraw code (although not the simplest, probably) is the IDE, which is completely quickdraw-based.
--
Jack Jansen, <Jack.Jansen@xxxxxx>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman


_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/pythonmac-sig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise