• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating NSMenus from scratch - bold titles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating NSMenus from scratch - bold titles?


  • Subject: Re: Creating NSMenus from scratch - bold titles?
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 1 Sep 2006 09:17:48 -0400

You can't fine-tune the appearance of menus through Cocoa. You have to get access to the underlying Carbon menu.

That said, I assume from your description that you're replacing the standard application menu with your own? If you're already getting a reference to it, why not just "empty it and refill" instead of building completely from scratch?

Daniel

On Sep 1, 2006, at 7: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?

Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Creating NSMenus from scratch - bold titles? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: QuickTime Problems: cannot decode object of class (QTMovieView)
  • Next by Date: CoreImage display
  • Previous by thread: Creating NSMenus from scratch - bold titles?
  • Next by thread: Re: Creating NSMenus from scratch - bold titles?
  • Index(es):
    • Date
    • Thread