Re: NSWindowController
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.