• 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: Using NSDrawer's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSDrawer's


  • Subject: Re: Using NSDrawer's
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 31 Jul 2001 11:48:17 -0700

On Tuesday, July 31, 2001, at 10:12 AM, email@hidden wrote:

I was wondering if someone could whip up a quick example of the syntax to
determine if a Drawer is open or closed

according to some documentation I found online, in AppKit/NSDrawer.h there is a
function - (int) state

would someone care to show me how to take return value and stick it in a text
field?

Because drawers take some time to open or close, they actually have four possible states: closed, opening, open, and closing, expressed by the NSDrawerState enum. That is what the method -[NSDrawer state] returns.

Douglas DAvidson


References: 
 >Using NSDrawer's (From: email@hidden)

  • Prev by Date: Re: NSFileHandle notifications
  • Next by Date: Re: NSFileHandle notifications
  • Previous by thread: Using NSDrawer's
  • Next by thread: Re: Using NSDrawer's
  • Index(es):
    • Date
    • Thread