blob: a23692bfe0f5cbbdcf4db6ac9f729e8c0fa5428c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
{ Parsed from AppKit.framework NSPathControl.h }
{$ifdef TYPES}
type
NSPathControlPtr = ^NSPathControl;
NSPathControlDelegateProtocolPtr = ^NSPathControlDelegateProtocol;
{$endif}
{$ifdef CLASSES}
type
NSPathControl = objcclass external (NSControl)
private
_draggingSourceOperationMaskForLocal: NSDragOperation;
_draggingSourceOperationMaskForNonLocal: NSDragOperation;
_reserved: NSInteger;
_delegate: id;
_pathAux: id;
public
procedure setEditable(newValue: ObjCBOOL); message 'setEditable:';
function isEditable: ObjCBOOL; message 'isEditable';
procedure setAllowedTypes(newValue: NSArray); message 'setAllowedTypes:';
function allowedTypes: NSArray; message 'allowedTypes';
procedure setPlaceholderString(newValue: NSString); message 'setPlaceholderString:';
function placeholderString: NSString; message 'placeholderString';
procedure setPlaceholderAttributedString(newValue: NSAttributedString); message 'setPlaceholderAttributedString:';
function placeholderAttributedString: NSAttributedString; message 'placeholderAttributedString';
procedure setURL(newValue: NSURL); message 'setURL:';
function URL: NSURL; message 'URL';
procedure setDoubleAction(newValue: SEL); message 'setDoubleAction:';
function doubleAction: SEL; message 'doubleAction';
procedure setPathStyle(newValue: NSPathStyle); message 'setPathStyle:';
function pathStyle: NSPathStyle; message 'pathStyle';
function clickedPathItem: NSPathControlItem; message 'clickedPathItem';
procedure setPathItems(newValue: NSArray); message 'setPathItems:';
function pathItems: NSArray; message 'pathItems';
procedure setBackgroundColor(newValue: NSColor); message 'setBackgroundColor:';
function backgroundColor: NSColor; message 'backgroundColor';
procedure setDelegate(newValue: NSPathControlDelegateProtocol); message 'setDelegate:';
function delegate: NSPathControlDelegateProtocol; message 'delegate';
procedure setDraggingSourceOperationMask_forLocal (mask: NSDragOperation; isLocal: ObjCBOOL); message 'setDraggingSourceOperationMask:forLocal:';
procedure setMenu(newValue: NSMenu); message 'setMenu:';
function menu: NSMenu; message 'menu';
end;
{$endif}
{$ifdef PROTOCOLS}
type
NSPathControlDelegateProtocol = objcprotocol external name 'NSPathControlDelegate' (NSObjectProtocol)
optional
function pathControl_shouldDragItem_withPasteboard (pathControl: NSPathControl; pathItem: NSPathControlItem; pasteboard: NSPasteboard): ObjCBOOL; message 'pathControl:shouldDragItem:withPasteboard:';
function pathControl_shouldDragPathComponentCell_withPasteboard (pathControl: NSPathControl; pathComponentCell: NSPathComponentCell; pasteboard: NSPasteboard): ObjCBOOL; message 'pathControl:shouldDragPathComponentCell:withPasteboard:';
function pathControl_validateDrop (pathControl: NSPathControl; info: NSDraggingInfoProtocol): NSDragOperation; message 'pathControl:validateDrop:';
function pathControl_acceptDrop (pathControl: NSPathControl; info: NSDraggingInfoProtocol): ObjCBOOL; message 'pathControl:acceptDrop:';
procedure pathControl_willDisplayOpenPanel (pathControl: NSPathControl; openPanel: NSOpenPanel); message 'pathControl:willDisplayOpenPanel:';
procedure pathControl_willPopUpMenu (pathControl: NSPathControl; menu: NSMenu); message 'pathControl:willPopUpMenu:';
end;
{$endif}
{$ifdef CLASSES}
type
NSPathControl_NSDeprecated = objccategory external name 'NSDeprecated' (NSPathControl)
function clickedPathComponentCell: NSPathComponentCell; message 'clickedPathComponentCell';
function pathComponentCells: NSArray; message 'pathComponentCells';
procedure setPathComponentCells (cells: NSArray); message 'setPathComponentCells:';
end;
{$endif}
|