FROM : Andrew Farmer
DATE : Sun Nov 25 07:58:28 2007
On 24 Nov 07, at 22:21, Jerry Krinock wrote:
<snip>
> (The reason why I'm doing this is to place a little icon to the left
> of the title, so I need to know how big it is. With lots of code,
> I've gotten it all to work...handling resizing was really fun. But
> I have to hard-code that stupid font size.)
>
> When I log the subviews of the window, I get the red button, the
> yellow button, the green button and the main contentView. I was
> hoping to get some kind of text "view" that would be the window
> title, but apparently it's not a "view".
From the NSWindow documentation:
[[<window> standardWindowButton:NSWindowDocumentIconButton]
setImage:<image>]
I believe this is only available in 10.5, though.
DATE : Sun Nov 25 07:58:28 2007
On 24 Nov 07, at 22:21, Jerry Krinock wrote:
<snip>
> (The reason why I'm doing this is to place a little icon to the left
> of the title, so I need to know how big it is. With lots of code,
> I've gotten it all to work...handling resizing was really fun. But
> I have to hard-code that stupid font size.)
>
> When I log the subviews of the window, I get the red button, the
> yellow button, the green button and the main contentView. I was
> hoping to get some kind of text "view" that would be the window
> title, but apparently it's not a "view".
From the NSWindow documentation:
[[<window> standardWindowButton:NSWindowDocumentIconButton]
setImage:<image>]
I believe this is only available in 10.5, though.
| Related mails | Author | Date |
|---|---|---|
| Jerry Krinock | Nov 25, 07:21 | |
| Andrew Farmer | Nov 25, 07:58 | |
| Philip Q | Nov 25, 08:09 | |
| Thomas Davie | Nov 25, 15:09 | |
| Gregory Weston | Nov 25, 18:59 |






Cocoa mail archive

