• 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: NSDrawer and preferredEdge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDrawer and preferredEdge


  • Subject: Re: NSDrawer and preferredEdge
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 4 Sep 2002 11:37:44 -0700

On Wednesday, September 4, 2002, at 10:41 AM, Andreas Mayer wrote:

A drawer can be told to open on a specific edge. However, when the edge is not specified, the drawer is opened on the preferredEdge.


That's not quite complete. When you use the plain -open method, the drawer is free to select which edge to open on, according to its own lights. The preferredEdge is one input to this, but it is just a suggestion; if a drawer has already been opened, the current algorithm prefers the edge it has been opened on. If you want to control which edge a drawer opens on, you must use -openOnEdge:.

Douglas Davidson
_______________________________________________
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: NSDrawer and preferredEdge
      • From: Andreas Mayer <email@hidden>
References: 
 >NSDrawer and preferredEdge (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Determine app's frontmost window when app is not in front?
  • Next by Date: Re: Duplicating PB behaviour (first responder?)
  • Previous by thread: NSDrawer and preferredEdge
  • Next by thread: Re: NSDrawer and preferredEdge
  • Index(es):
    • Date
    • Thread