discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using custom views in NSMenuItems


From: Ivan Vučica
Subject: Using custom views in NSMenuItems
Date: Fri, 30 Mar 2012 14:30:23 +0200

Hi,

Since 10.5, OS X seems to include methods -view and -setView: for NSMenuItem. Are there any plans to support this?

From what OS X documentation says, NSMenuItemCell is no longer used there, and NSMenuView's -setMenuItemCell:forItemAtIndex: is no longer available for 64-bit apps (that is, it's deprecated and isn't future proof). So although it'd be a viable solution for GNUstep apps, it's not portable between Cocoa and GNUstep.

--
Ivan Vučica - ivan@vucica.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]