• 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: NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController


  • Subject: Re: NSWindowController
  • From: p3consulting <email@hidden>
  • Date: Sun, 14 Dec 2003 09:21:49 +0100

On 13 dic. 2003, at 22:27, Jason Reece wrote:

> Hi all,
>
> Can I please have some help. I'm trying to set the title of a window
> programmatically. The window is a subclass of NSWindowController, and

There is something wrong here...
a window may be a subclass of NSWindow but surely NOT of
NSWindowController
may be you wanted to say "the window controller is a subclass of
NSWindowController" ... ?

> is built using IB. I've tried using the methods in the documents to no
> avail. I.e
>
> - (NSString *)windowTitleForDocumentDisplayName:(NSString
> *)displayName;
>
Have you tried the NSWindow method:

- (void)setTitle:(NSString *)aString

and if the window is one of which the controller "belongs" to a
NSDocument
see the NSDocument method

- (NSString *)displayName


Pascal Pochet
P3 Consulting
_______________________________________________
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.

References: 
 >NSWindowController (From: Jason Reece <email@hidden>)

  • Prev by Date: Re: Are multiple dylibs in one framework possible?
  • Next by Date: Re: Odd memory issue -- not a newbie
  • Previous by thread: Re: NSWindowController
  • Next by thread: textview highlighting
  • Index(es):
    • Date
    • Thread