Terminal.app and Opaqueness - HOW?
Terminal.app and Opaqueness - HOW?
- Subject: Terminal.app and Opaqueness - HOW?
- From: Joseph Zambella <email@hidden>
- Date: Mon, 6 Aug 2001 16:45:14 -0400
Hello,
I would like to be able to set the opaqueness of my app's
background - just like you can do with Terminal.app. I have looked over
the sample code on Apple's site for the RoundTransparentWindow.app, but
this does not do exactly what I want. I want the main window's title
bar to always be at 100% (ie, no transparency, just like Terminal), and
just be able to modify the transparency of the window's contentView.
From what I've gathered, it seems like the NSWindow's setAlphaValue sets
the Alpha of the entire window, including the title bar, so I think I
need to deal directly with the window's contentView. I've looked over
the documentation for both NSWindow and NSView, but I can't seem to come
up with anything. Any suggestions would be greatly appreciated.
Thanks.
/Jz