cancelButtonRectForBounds:
キャンセルボタンの矩形を返します
-(NSRect)cancelButtonRectForBounds:(NSRect )rect:
解説
キャンセルボタンの矩形を返します。
返り値
( NSRect )
なし
引数
( NSRect )rect
フレームワーク
ApplicationKit
クラス
NSSearchFieldCell
Instance Methods
使用可能
10.3
参照
-searchButtonRectForBounds:
-searchTextRectForBounds:
例文
NSLog([NSString stringWithFormat:@"%.1f",[myOutlet cancelButtonRectForBounds:NSMakeRect(0,0,10,10)].origin.x ]);