setTextFont:
テキストフィールドのフォントをセットします
-(void)setTextFont:(NSFont *)font:
解説
テキストフィールドのフォントをセットします
返り値
( void )
なし
引数
( NSFont * )font
フォント
フレームワーク
ApplicationKit
クラス
NSForm
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSFont *fnt; fnt = [NSFont fontWithName:@"Osaka" size:9] ; [form1 setTextFont:fnt]; } @end