anchoringViewForSharingService_showRelativeToRect_preferredEdge_ property
ObjCProtocolMethod<NSView? Function(NSSharingService, Pointer<NSRect> , Pointer<NSUInteger> )>
anchoringViewForSharingService_showRelativeToRect_preferredEdge_
final
anchoringViewForSharingService:showRelativeToRect:preferredEdge:
Implementation
static final anchoringViewForSharingService_showRelativeToRect_preferredEdge_ =
objc.ObjCProtocolMethod<
NSView? Function(
NSSharingService,
ffi.Pointer<NSRect>,
ffi.Pointer<NSUInteger>,
)
>(
_protocol_NSSharingServiceDelegate,
_sel_anchoringViewForSharingService_showRelativeToRect_preferredEdge_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Pointer<objc.ObjCObject> Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<NSRect>,
ffi.Pointer<NSUInteger>,
)
>
>(_NativeBindingBindings_protocolTrampoline_erz08o)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSSharingServiceDelegate,
_sel_anchoringViewForSharingService_showRelativeToRect_preferredEdge_,
isRequired: false,
isInstanceMethod: true,
),
(
NSView? Function(
NSSharingService,
ffi.Pointer<NSRect>,
ffi.Pointer<NSUInteger>,
)
func,
) =>
ObjCBlock_NSView_ffiVoid_NSSharingService_NSRect_NSRectEdge.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSSharingService arg1,
ffi.Pointer<NSRect> arg2,
ffi.Pointer<NSUInteger> arg3,
) => func(arg1, arg2, arg3),
),
);