confinementRectForMenu_onScreen_ property
confinementRectForMenu:onScreen:
Implementation
static final confinementRectForMenu_onScreen_ =
objc.ObjCProtocolMethod<NSRect Function(NSMenu, NSScreen?)>(
_protocol_NSMenuDelegate,
_sel_confinementRectForMenu_onScreen_,
ffi.Native.addressOf<
ffi.NativeFunction<
NSRect Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_bl8dec)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSMenuDelegate,
_sel_confinementRectForMenu_onScreen_,
isRequired: false,
isInstanceMethod: true,
),
(NSRect Function(NSMenu, NSScreen?) func) =>
ObjCBlock_NSRect_ffiVoid_NSMenu_NSScreen.fromFunction(
(ffi.Pointer<ffi.Void> _, NSMenu arg1, NSScreen? arg2) =>
func(arg1, arg2),
),
);