window_shouldDragDocumentWithEvent_from_withPasteboard_ property
ObjCProtocolMethod<bool Function(NSWindow, NSEvent, NSPoint, NSPasteboard)>
window_shouldDragDocumentWithEvent_from_withPasteboard_
final
window:shouldDragDocumentWithEvent:from:withPasteboard:
Implementation
static final window_shouldDragDocumentWithEvent_from_withPasteboard_ =
objc.ObjCProtocolMethod<
bool Function(NSWindow, NSEvent, NSPoint, NSPasteboard)
>(
_protocol_NSWindowDelegate,
_sel_window_shouldDragDocumentWithEvent_from_withPasteboard_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Bool Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
NSPoint,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_6f73nq)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSWindowDelegate,
_sel_window_shouldDragDocumentWithEvent_from_withPasteboard_,
isRequired: false,
isInstanceMethod: true,
),
(bool Function(NSWindow, NSEvent, NSPoint, NSPasteboard) func) =>
ObjCBlock_bool_ffiVoid_NSWindow_NSEvent_NSPoint_NSPasteboard.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSWindow arg1,
NSEvent arg2,
NSPoint arg3,
NSPasteboard arg4,
) => func(arg1, arg2, arg3, arg4),
),
);