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