From: Tom Goddard <goddard@cg...> - 2009-11-19 04:37:30
Are multi-column menus and colored backgrounds for menu entries
supported in Cocoa Aqua Tk (8.5.8 backport or 8.6b1)? I have tried with
the 8.5.8 backport of Cocoa Aqua Tk but neither of these features work.
Both features do work in the Carbon Aqua Tk in 8.5.6 if the following
magic is used before creating the menus
set ::tk::mac::useCustomMDEF 1
UCSF Chimera molecular graphics developer
From: Daniel A. Steffen <das@us...> - 2009-11-19 05:12:19
On Wed, Nov 18, 2009 at 20:20, Tom Goddard <goddard@...> wrote:
> Are multi-column menus and colored backgrounds for menu entries
> supported in Cocoa Aqua Tk (8.5.8 backport or 8.6b1)?
no, only features directly supported by NSMenuItem (images, colored
text foreground, fonts etc) are supported. Anything else would require
a custom NSView in the NSMenuItem:
it might be worth investigating whether Tk could provide a facility to
allow extensions to specify such custom views...