Re: Making an NSDrawer transparent
Re: Making an NSDrawer transparent
- Subject: Re: Making an NSDrawer transparent
- From: Jeremy Dronfield <email@hidden>
- Date: Fri, 5 Mar 2004 22:22:37 +0000
On 5 Mar 2004, at 9:12 pm, zeno wrote:
If there's a drawer attached to myWindow, then [myWindow
setAlphaValue:0.5] will make the window semi-transparent, but NOT the
drawer (which will stay fully opaque).
Is there a way to add transparency to the drawer too?
[[myDrawer window] setAlphaValue:0.5]
This works because [myDrawer window] returns the window object
containing the NSDrawer (I think its classname is NSDrawerWindow), as
opposed to the parent window.
Hope this helps.
-Jeremy
========================================
email@hidden
theLocustFarm.net:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.