[Mono-osx] Enabling menu items

tlapse tlapse at gmail.com
Thu Apr 5 19:30:23 UTC 2012


I have created menu items and can perform actions. But I can't figure out how
to manually enable/disable them from my C# code.

For example, have an outlet for a menu time in AppDelegate.designer.cs,

		[Outlet]
		MonoMac.AppKit.NSMenuItem saveAsToolStripMenuItem { get; set; }

but I can't figure out how to access it from MainWindowController.

Any ideas?




--
View this message in context: http://mono.1490590.n4.nabble.com/Enabling-menu-items-tp4535796p4535796.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list