NSDrawer:contentView
Home 目次>ApplicationKit>NSDrawer

contentView

引き出しの内容ビューを返します


-(NSView *) contentView


【返り値】
   NSView *内容ビュー


【解説】

引き出しの内容ビューを返します。



【例文】


#import "MyObject.h"

@implementation MyObject

- (IBAction)myAction1:(id)sender
{
[drawer open];
[drawer setContentSize:NSMakeSize(50,50)];
NSLog([[drawer contentView] className]);
}

- (IBAction)myAction2:(id)sender
{
[drawer close];
}

@end


(C) 2000-2007 Satoshi Oomori.
[Apple]

Google
Webwww.oomori.com
Apple_Store_40x120

[ad:Usual day in Japan]

この記事を評価してください。 

良い 

間違いがある 説明がわかりにくい 例文がわかりにくい  

Home 目次>ApplicationKit>NSDrawer
修正日2006.12.26