Skip navigation.
 
mlRe: Is window a drawer?
FROM : Shaun Wexler
DATE : Fri Nov 05 19:17:09 2004

On Nov 5, 2004, at 12:36 AM, Tim Conkling wrote:

> Is there an easy way to determine whether a given NSWindow is a
> drawer? There's an isSheet method for determining whether a window is
> a sheet, but I can't figure out how to do the same with drawers.


   [window isKindOfClass:NSClassFromString(@"NSDrawerWindow")]

--
Shaun Wexler
MacFOH
http://www.macfoh.com

Related mailsAuthorDate
mlIs window a drawer? Tim Conkling Nov 5, 09:36
mlRe: Is window a drawer? ??? a.k.a. James C… Nov 5, 15:16
mlRe: Is window a drawer? Shaun Wexler Nov 5, 19:17
mlRe: Is window a drawer? Matt Gillette Nov 5, 21:07
mlRe: Is window a drawer? Shaun Wexler Nov 5, 21:32
mlRe: Is window a drawer? cocoa-dev Nov 5, 22:40
mlRe: Is window a drawer? Frank Midgley Nov 5, 22:40