|
From: Joe E. <jen...@fl...> - 2005-09-27 20:37:06
|
Tile widgets with an -image (buttons, labels, etc.) currently draw the image stippled when they are in the disabled state, like the core widgets do. Would anyone complain if this feature went away? This behavior is disabled on OSX to work around an AquaTk bug (#1100117); according to a recent post on comp.lang.tcl [*] it doesn't work all that well under X11 either (specifically, when the image has an alpha channel); and even when it does work it doesn't look very good (common practice nowadays is to use a desaturated, darkened, or grayscale image instead of stippling). Note that the Tile widgets allow the program to specify state-dependent auxilliary images, so this effect is still possible; it just takes some extra work on the programmer's part. We could provide a utility routine to automatically generate "grayed-out" versions of icon images to ease the pain. Anyway, unless somebody objects, I plan to nuke this part of the code. --Joe English jen...@fl... [*] <URL: http://groups.google.com/groups?selm=Kzg_e.3703$zQ...@ne... > |