[Mono-dev] Mono Develop native menus on Mac OS X
andreas.faerber at web.de
Sun Feb 22 09:53:12 EST 2009
Am 20.02.2009 um 01:12 schrieb Michael Hutchinson:
> On Wed, Feb 18, 2009 at 11:23 AM, Geoff Norton <gnorton at novell.com>
>> I have a patch somewhere or other for the menu (its 2 lines of code).
>> The hotkeys I havn't looked into yet tho. We should probably move
>> discussion to the monodevelop-list tho.
> Unfortunately it's nowhere near as easy is this. I cleanly patched in
> the main menu support, but it has *major* problems.
> * menu item sensitivity is not respected, so items are always
> sensitive even when they cannot be used
IIUC, this is standard Mac behavior, not a major issue. Disabled menu
items cannot be selected, but clicking closes the menu without doing
> * menu item images are not shown
Menu items don't have images on the Mac. Just like on Windows,
> * menu items with checkboxes or radio boxes are invisible
> This is so broken that I've disabled my changes.
> IMO we need to generate the menus from the command tree completely
> differently for Mac. If someone would like to volunteer, I'll tell
> them how...
> It might even be viable to do it with Cocoa#.
Please try to avoid the 5+ ObjC bridges.
There is an official Gtk+ project for Mac OS X menu integration:
More information about the Mono-devel-list