setTitle:
ボタンセルにタイトルをセットします
-(void)setTitle:(NSString *)aString:
解説
ボタンセルにタイトルをセットします。
返り値
( void )
なし
引数
( NSString * )aString
文字
フレームワーク
ApplicationKit
クラス
NSButtonCell
Instance Methods
使用可能
10.0
参照
- setAlternateTitle:
- setButtonType:
- setFont:
- setTitleWithMnemonic:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //bCell1はボタンセル [bCell1 setTitle:@"new title"]; } @end