Re: How to get window title bar font ^size^ ?
Re: How to get window title bar font ^size^ ?
- Subject: Re: How to get window title bar font ^size^ ?
- From: Andrew Farmer <email@hidden>
- Date: Sat, 24 Nov 2007 22:58:28 -0800
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.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden