[Pythonmac-SIG] Python and Quickdraw

Jack Jansen Jack.Jansen at cwi.nl
Sun May 23 16:24:07 EDT 2004


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 at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Pythonmac-SIG mailing list