• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making an NSDrawer transparent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Making an NSDrawer transparent
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Making an NSDrawer transparent (From: zeno <email@hidden>)

  • Prev by Date: Re: Passing C Style Function Callbacks in Cocoa
  • Next by Date: Re: Making an NSDrawer transparent
  • Previous by thread: Re: Making an NSDrawer transparent
  • Next by thread: Re: Making an NSDrawer transparent
  • Index(es):
    • Date
    • Thread