Instance Method

drawerShouldOpen:

Asks the delegate if the specified drawer should open.

Declaration

- (BOOL)drawerShouldOpen:(NSDrawer *)sender;

Parameters

sender

The drawer requesting permission to open.

Return Value

YES if the drawer should open; NO to prevent the drawer from opening.

Discussion

This method is invoked on user-initiated attempts to open a drawer by dragging it or when the NSDrawerDelegate method is called.

See Also

Opening and Closing Drawers

- drawerWillOpen:

Notifies the delegate that the drawer will open.

Deprecated
- drawerDidOpen:

Notifies the delegate that the drawer has opened.

Deprecated
- drawerShouldClose:

Asks the delegate if the specified drawer should close.

Deprecated
- drawerWillClose:

Notifies the delegate the drawer will close.

Deprecated
- drawerDidClose:

Notifies the delegate that the drawer has closed.

Deprecated