• 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: Newbie - Setting a window to a title other then document file name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie - Setting a window to a title other then document file name


  • Subject: Re: Newbie - Setting a window to a title other then document file name
  • From: Georg Tuparev <email@hidden>
  • Date: Thu, 18 Sep 2003 00:49:42 +0200

NSDocument has a method -(NSString *)displayName. Override it...

gt

On Wednesday, September 17, 2003, at 11:25 PM, Tom Gray wrote:

Hello,

I have a NSWindowController subclass whose window I would like to set
to a title other then the filename used by the NSDocument subclass. I
have tried:

[self windowTitleForDocumentDisplayName:@"Crewdog Terminal"];

But, the title of the window on screen is still Untitled.

Any Ideas?

Tom


Georg Tuparev
Tuparev Technologies
Klipper 13
1186 VR Amstelveen
The Netherlands
Mobile: +31-6-55798196
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • NSSound truncates the beginnings of sounds
      • From: John Stiles <email@hidden>
References: 
 >Newbie - Setting a window to a title other then document file name (From: Tom Gray <email@hidden>)

  • Prev by Date: Cocoa & Java: Interapplication Communication
  • Next by Date: NSComboBox - Not Drawing the List
  • Previous by thread: Newbie - Setting a window to a title other then document file name
  • Next by thread: NSSound truncates the beginnings of sounds
  • Index(es):
    • Date
    • Thread