• 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: Changing app menu name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing app menu name


  • Subject: Re: Changing app menu name
  • From: "R. Tony Goold" <email@hidden>
  • Date: Fri, 5 Oct 2001 12:19:37 -0400

I believe, if you read further, that Finlay already answered your question:
There is no provision for doing it.

However Finlay's question still stands, and a perfectly good one at that: Why do you want to do it? I'm having a hard time thinking of any reason for doing it which doesn't have a better solution. There are two which come to mind immediately:

1. You've taken advantage of 255 character filenames to write a small essay as the name of your application, but you acknowledge this takes up a significant amount of space in the menu. Solution: Give your application a more compact name.

2. You want to deceive the user and play some sort of trick on them. Solution: Don't.

It's entirely possible you've found some completely overlooked case, but we won't know that until you tell us what it is you're trying to do :-)


Cheers,
Tony


On Friday, October 5, 2001, at 10:46 , Tommy Braas wrote:

Finlay,

Right, I didn't mean the Finder menu... Sorry about the confusion! I meant the main menu bar
of my application of course...

So, the question still stands! How do I programmatically change the name of my application in the menu bar?

Thanks!

\tommy


How do I do that?

You don't. There is no provision for doing it because it should not be
done. Why on earth would anyone ever want to do so?

I have tried using both the IBOutlet I created for the menu and [ [
[ NSApplication sharedApplication ] mainMenu ] setTitle: @"MyName" ].

None of those work. Furthermore it is not picking up the changes in the
menu name that I make to the menu in IB. What am I doing wrong?

Attempting it in the first place. :-)

-- Finlay
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Follow-Ups:
    • RE: Changing app menu name
      • From: "Tommy Braas" <email@hidden>
References: 
 >RE: Changing app menu name (From: "Tommy Braas" <email@hidden>)

  • Prev by Date: Re: Subclassing NSToolBar.
  • Next by Date: Re: Changes to [NSView dragImage:::::] under 10.1
  • Previous by thread: RE: Changing app menu name
  • Next by thread: RE: Changing app menu name
  • Index(es):
    • Date
    • Thread