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