menu_updateItem_atIndex_shouldCancel_ property
ObjCProtocolMethod<bool Function(NSMenu, NSMenuItem, DartNSInteger, bool)>
menu_updateItem_atIndex_shouldCancel_
final
menu:updateItem:atIndex:shouldCancel:
Implementation
static final menu_updateItem_atIndex_shouldCancel_ =
objc.ObjCProtocolMethod<
bool Function(NSMenu, NSMenuItem, DartNSInteger, bool)
>(
_protocol_NSMenuDelegate,
_sel_menu_updateItem_atIndex_shouldCancel_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Bool Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
NSInteger,
ffi.Bool,
)
>
>(_NativeBindingBindings_protocolTrampoline_1d4j51x)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSMenuDelegate,
_sel_menu_updateItem_atIndex_shouldCancel_,
isRequired: false,
isInstanceMethod: true,
),
(bool Function(NSMenu, NSMenuItem, DartNSInteger, bool) func) =>
ObjCBlock_bool_ffiVoid_NSMenu_NSMenuItem_NSInteger_bool.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSMenu arg1,
NSMenuItem arg2,
DartNSInteger arg3,
bool arg4,
) => func(arg1, arg2, arg3, arg4),
),
);