[Mono-osx] Menu Bar for Mac OS X?
m.j.hutchinson at gmail.com
Sun Apr 4 19:01:27 EDT 2010
On Sun, Apr 4, 2010 at 3:48 AM, Elfen <pem.accounts.spam at gmail.com> wrote:
> Is there info on how to code the native menu bar for Mac OS X (with C# code
> using Mono)? So that Windows and Linux have their style menu bar, while Mac
> OS X has its different style menu bar.
> I found some doc from Sun on this for Java (dated 2003!)... Does Novel have
> doc on this for Mac OS X? Even just a simple example should be fine.
There's a library that maps GTK# menus into the Mac main menu
Someone who cares about Winforms on Mac enough could do this for Winforms too.
MonoDevelop uses Carbon P/Invokes to maps its own command system into
the Mac main menu.
Cocoa C# wrappers such as Monobjc provide access to all the Mac native
GUI APIs directly, though of course this requires you to rewrite your
GUI layer for Mac.
More information about the Mono-osx