Skip navigation.
 
mlRe: window title (newbie question)
FROM : PGM
DATE : Tue Aug 01 04:39:13 2006

> Hello all.
> I'm sure this is a simple thing to do, but I'm having trouble 
> giving new windows a title.  At which point in the window creation 
> do we assign the title, and where is the set window title command? 
> I've seen it done in code, but I can't seem to get it to work for 
> me.  I guess I'm putting the set window title call in the wrong 
> place, so that's why I'm asking where it goes.  My windows always 
> have either no title, or some default that I'm not sure where it 
> comes from.
> Any assistance would be greatly appreciated.  Even a pointer to 
> documentation on this is fine, I've found a few, but I'm apparently 
> not looking in the right place, because I can't find a simple 
> straight to the point sample that does nothing but set a title. 
> <grumble>
> Thanks much.
> _______________________________________________


If you have a document-based app and want to override the default 
"untitled" names, you may also want to have a look at the displayName 
method of NSDocument. See http://www.cocoabuilder.com/archive/message/
cocoa/2005/7/11/141416

Best, Patrick

Related mailsAuthorDate
mlwindow title (newbie question) Travis Siegel Aug 1, 03:59
mlRe: window title (newbie question) Nick Zitzmann Aug 1, 04:10
mlRe: window title (newbie question) PGM Aug 1, 04:39