[racket] Graphical Toolkit change question

From: Christophe Vandenberghe (chvndb at gmail.com)
Date: Mon Feb 21 03:28:23 EST 2011

"on-paint" for panels? How would that work? On-paint only exists for canvasses and editors.

-----Original Message-----
From: Matthew Flatt [mailto:mflatt at cs.utah.edu] 
Sent: vrijdag 18 februari 2011 18:26
To: Christophe Vandenberghe
Cc: users at racket-lang.org
Subject: Re: [racket] Graphical Toolkit change question

At Thu, 17 Feb 2011 20:08:10 -0700, Matthew Flatt wrote:
> We've never tried to pin down the behavior of overlapping children in a
> panel, and it varies among platforms. Actually, we tried long ago to
> make the order consistent, and there were too many problems on some
> platforms.
> 
> I think those old obstacles are gone in the new implementation, so
> maybe we can pin this down and/or provide methods to control the order.

Nope. The drawing of overlapping siblings in Cocoa is apparently
unspecified.

A more promising direction is probably something like `on-paint' for
panels. Would that work for your application?




Posted on the users mailing list.