RE: Changing app menu name
RE: Changing app menu name
- Subject: RE: Changing app menu name
- From: "Tommy Braas" <email@hidden>
- Date: Fri, 5 Oct 2001 07:46:55 -0700
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
>
-----Original Message-----
>
From: Finlay Dobbie [mailto:email@hidden]
>
Sent: Thursday, October 04, 2001 11:25 PM
>
To: Tommy Braas
>
Cc: Cocoa-Dev
>
Subject: Re: Changing app menu name
>
>
>
>
On Friday, October 5, 2001, at 01:40 AM, Tommy Braas wrote:
>
>
> I am trying to dynamically change the application menu title (the one
>
> with the application's name in the menu bar in the Finder) from what I
>
> entered in IB to what I want.
>
>
Why would the application menu display your app's name when you are in
>
the Finder?
>
>
> 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