On Apr 21, 2009, at 5:36 PM, Jerry Krinock wrote:

I get a default menu from a newly-created popup button cell by sending

   -[NSPopUpButtonCell menu]

How can I find out the font used in this menu?  (It's an NSMenu.)

I don't see any 'font' accessors, and -[NSMenuItem attributedTitle] returns nil.

The only way I know of is the menu-related class methods in NSFont.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to