From: Kevin W. <kw...@co...> - 2007-05-07 21:05:22
|
Kevin Walzer wrote: > Wow! You've done fantastic work. Pinstripes on windows without Tile! > Tearoff menus work! Images in menus! I did a bit of stress-testing on > the 8.4.15 build with SnackAmp, which is a complex app from a UI > standpoint (and which was previously broken under Aqua). It works quite > well. I need to amend one point: Images don't work in the main menubar. The following code in 8.4.15 produces a menu entry with a label of "(Image)": image create photo myImage -data { R0lGODlhEAAQAIAAAPwCBAQCBCH5BAEAAAAALAAAAAAQABAAAAIYhI+py+0P UZi0zmTtypflV0VdRJbm6fgFACH+aENyZWF0ZWQgYnkgQk1QVG9HSUYgUHJv IHZlcnNpb24gMi41DQqpIERldmVsQ29yIDE5OTcsMTk5OC4gQWxsIHJpZ2h0 cyByZXNlcnZlZC4NCmh0dHA6Ly93d3cuZGV2ZWxjb3IuY29tADs= } menu .menubar menu .menubar.fileMenu .menubar add command -image myImage .menubar add cascade -label File -menu .menubar.fileMenu .menubar.fileMenu add command -image myImage . configure -menu .menubar This is a long-standing bug, but I mistakenly thought it was fixed in 8.4.15. -- Kevin Walzer Code by Kevin http://www.codebykevin.com |