comparison foosdk/sdk/foobar2000/helpers-mac/NSView+ppsubviews.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 #import <Cocoa/Cocoa.h>
2
3 #if 0
4 @interface NSView (ppsubviews)
5 - (NSView*) recurFindSubViewOfClass: (Class) cls identifier: (NSString*) identifier;
6 - (NSView*) findSubViewOfClass: (Class) cls identifier: (NSString*) identifier;
7 - (NSView*) findSubViewOfClass: (Class) cls;
8 - (NSButton*) findButton;
9 - (NSTextView*) findTextView;
10 - (NSTextField*) findTextField;
11 - (NSImageView*) findImageView;
12 @end
13 #endif
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 __kindof NSView * NSViewFindSubView( NSView * parent, Class clsOrNull, NSUserInterfaceItemIdentifier idOrNull );
20 __kindof NSView * NSViewFindSubViewRecursive( NSView * parent, Class clsOrNull, NSUserInterfaceItemIdentifier idOrNull );
21
22 #ifdef __cplusplus
23 } // extern "C"
24 #endif