Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSDrawer's



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)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.