controlSize
プログレスインジケータのサイズを返します
解説
プログレスインジケータのサイズを返します。
【NSControlSize】
● NSRegularControlSize 標準のサイズ
● NSSmallControlSize 小さいサイズ
返り値
( NSControlSize )
コントロールサイズ
引数
フレームワーク
ApplicationKit
クラス
NSProgressIndicator
Instance Methods
使用可能
10.0
参照
- setControlSize:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)button:(id)sender { if ([myOutlet controlSize] == NSRegularControlSize){ [myOutlet setControlSize:NSSmallControlSize]; }else{ [myOutlet setControlSize:NSRegularControlSize]; } } - (IBAction)button2:(id)sender; { } - (IBAction)slider:(id)sender { } @end