setContentResizeIncrements:
ウインドウのコンテンツをサイズ変更するときの増減数をセットします
-(void)setContentResizeIncrements:(NSSize )increments:
解説
ウインドウのコンテンツをサイズ変更するときの増減数をセットします。
このメソッドは setResizeIncrements:よりも優先します。
返り値
( void )
なし
引数
( NSSize )increments
フレームワーク
ApplicationKit
クラス
NSWindow
Instance Methods
使用可能
10.3
参照
-contentResizeIncrements
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { [myWindow setContentResizeIncrements:NSMakeSize(50.0,50.0)]; } @end