| 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
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSDrawer | 修正日2006.12.26 |