draggedColumn
ドラッグしたテーブル列の番号を返します
解説
ドラッグしたテーブル列の番号を返します。
なければ-1を返します。
返り値
( int )
整数値
引数
フレームワーク
ApplicationKit
クラス
NSTableHeaderView
Instance Methods
使用可能
10.0
参照
- draggedDistance
例文
//テーブルビューのデリゲート -(void)tableViewColumnDidMove:(NSNotification *)aNotification { NSTableHeaderView *thView = [table headerView]; NSLog([NSString stringWithFormat:@"%d",[thView draggedColumn]]); }