RE: Safari-like padlock button in window title bar

2008-05-23 Thread Jim Matthews
At 8:08 PM -0400 5/20/08, Gary L. Wade wrote: I'm planning on doing something like this myself with one of my projects, and the way I plan on trying it out is by using: -(NSButton *)standardWindowButton:(NSWindowButton)b; for each NSWindowButton of the NSWindow, find a reasonable visual g

Re: Safari-like padlock button in window title bar

2008-05-21 Thread Jerry Krinock
On 2008 May, 20, at 17:08, Gary L. Wade wrote: I'm planning on doing something like this myself with one of my projects, and the way I plan on trying it out is by using: -(NSButton *)standardWindowButton:(NSWindowButton)b; for each NSWindowButton of the NSWindow, find a reasonable visual

RE: Safari-like padlock button in window title bar

2008-05-20 Thread Gary L. Wade
I'm planning on doing something like this myself with one of my projects, and the way I plan on trying it out is by using: -(NSButton *)standardWindowButton:(NSWindowButton)b; for each NSWindowButton of the NSWindow, find a reasonable visual gap to the left/right of one of the buttons, and

Safari-like padlock button in window title bar

2008-05-20 Thread Jim Matthews
I'd like to draw a padlock icon in a window title bar, similar to the way Safari does when it's displaying an https URL. And I'd like to be able to respond to clicks on the padlock by displaying security information. Is there a supported way to add a button to a window's title bar? Thanks,