setTitle:
ポップアップボタンの末尾にタイトルをセットします
-(int)setTitle:(NSString *)aString:
解説
ポップアップボタンの末尾にタイトルをセットします
返り値
( int )
整数値
引数
( NSString * )aString
タイトルの文字列
フレームワーク
ApplicationKit
クラス
NSPopUpButton
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはポップアップボタン [myOutlet setTitle:@"NetTitle"]; } @end