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
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 mails | Author | Date |
|---|---|---|
| Travis Siegel | Aug 1, 03:59 | |
| Nick Zitzmann | Aug 1, 04:10 | |
| PGM | Aug 1, 04:39 |






Cocoa mail archive

