On Jul 19, 2008, at 5:12 PM, Guilherme Polo wrote:
Unfortunately, this is one of the aspects of TK that isn't quite
right on OS
X. You could use a drawn image of a button on your backdrop image
and then
monitor for the mouseclick position to determine that the pseudo-
button was
pressed, but without proper ties to the Carbon Compositor, it's
best to use
pushbuttons only on default, blank backgrounds.
Does that happen when using a Canvas too ? Same in Tk 8.5 ? I'm
curious, mainly because I don't have a mac to test.
Yes - for the button's background to be "transparent", OS X windows
use a model known as Composite. Unfortunately, AFAIK, the TK
implementation as it exists doesn't offer a Composite window parameter.
Tim
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss