• 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: A strange font situation.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A strange font situation.


  • Subject: Re: A strange font situation.
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 05 Oct 2014 21:45:14 +1100

I can't follow what your problem is, but you're confusing menus and menu items in your description.

Creating a new menu item using alloc and initWithTitle:action:keyEquivalent: and then adding it to a menu is exactly the same as calling addItemWithTitle:action:keyEquivalent: on the menu. The only point of doing the former would be to be able to set the attributed title without having to keep count, because you'd have a reference to the menu item already. But you're not doing that, so it seems pointless.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


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

This email sent to email@hidden


  • Follow-Ups:
    • Re: A strange font situation.
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: Third party frameworks
  • Next by Date: Re: A strange font situation.
  • Previous by thread: Re: Third party frameworks
  • Next by thread: Re: A strange font situation.
  • Index(es):
    • Date
    • Thread