Re: Using NSDrawer's
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