macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

setWidth:ofColumn:

指定したコラムの幅をセットします
-(void)setWidth:(float)columnWidth:
        ofColumn:(int)columnIndex:

解説

指定したコラムの幅をセットします。

返り値

( void )

なし

引数

( float )columnWidth
( int )columnIndex

フレームワーク

ApplicationKit

クラス

NSBrowser

Instance Methods

使用可能

10.3

参照

-widthOfColumn:
-browser:shouldSizeColumn:forUserResize:toWidth:

例文

- (IBAction)myAction:(id)sender
{
[myOutlet setWidth:100.0 ofColumn:2];
NSLog([NSString stringWithFormat:@"%f",[myOutlet widthOfColumn:2]]);
 }