macOS/iOS API解説

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

目次

columnWidthForColumnContentWidth:

コラム幅をセットします
-(float)columnWidthForColumnContentWidth:(float)columnContentWidth:

解説

コラム幅をセットします。

返り値

( float )

なし

引数

( float )columnContentWidth

フレームワーク

ApplicationKit

クラス

NSBrowser

Instance Methods

使用可能

10.3

参照

-columnContentWidthForColumnWidth:

例文

NSMatrix *mat = [myOutlet matrixInColumn:1];
NSLog([NSString stringWithFormat:@"%d",[myOutlet columnOfMatrix:mat]]);
 [myOutlet setColumnResizingType:NSBrowserUserColumnResizing];//ユーザが幅変更可能
   
[myOutlet columnWidthForColumnContentWidth:200];