drawerWillOpen:
ダブり
drawerWillOpen: へ移動
引き出しを開けようとする時に呼ばれます
-(void)drawerWillOpen:(NSNotification *)notification:
解説
引き出しを開けようとする時に呼ばれます。
open:で開けようとする場合、drawerShouldOpen:の後に呼ばれます。
返り値
( void )
なし
引数
( NSNotification * )notification
通知
フレームワーク
ApplicationKit
クラス
NSDrawer
Instance Methods
使用可能
10.0
参照
例文
#import "Drawerdeligate.h" //drawerのデリゲート @implementation Drawerdeligate -(BOOL)drawerShouldOpen:(NSDrawer *)sender { NSLog(@"drawerShouldOpen"); return YES; } -(void)drawerWillOpen:(NSNotification *)notification { NSLog(@"drawerWillOpen"); } @end