Re: Creating NSMenus from scratch - bold titles?
Re: Creating NSMenus from scratch - bold titles?
- Subject: Re: Creating NSMenus from scratch - bold titles?
- From: Eric Schlegel <email@hidden>
- Date: Fri, 1 Sep 2006 07:39:27 -0700
On Sep 1, 2006, at 4:26 AM, Jonathan del Strother wrote:
I'm trying to create my NSMenu from scratch, and running into the
problem that NSMenu doesn't respond to setAttributedTitle. So the
application menu heading (the one that, for example, says 'Safari'
in Safari) appears in plain text, with no bolding.
How can I get around this?
The Menu Manager recognizes a menu with the Apple character (Unicode
0xF8FF, kAppleLogoUnicode in HIToolbox/Events.h) as being the
Application menu, and automatically draws replaces its title with a
bold version of the app's name. If you're replacing your own
Application menu, you should set the title to the Apple character.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden