presentationStyle property
NSMenuPresentationStyle
get
presentationStyle
presentationStyle
Implementation
NSMenuPresentationStyle get presentationStyle {
objc.checkOsVersionInternal(
'NSMenu.presentationStyle',
iOS: (true, null),
macOS: (false, (14, 0, 0)),
);
final _ret = _objc_msgSend_5zafju(this.ref.pointer, _sel_presentationStyle);
return NSMenuPresentationStyle.fromValue(_ret);
}
set
presentationStyle
(NSMenuPresentationStyle value)
setPresentationStyle:
Implementation
set presentationStyle(NSMenuPresentationStyle value) {
objc.checkOsVersionInternal(
'NSMenu.setPresentationStyle:',
iOS: (true, null),
macOS: (false, (14, 0, 0)),
);
_objc_msgSend_1a2y1a4(
this.ref.pointer,
_sel_setPresentationStyle_,
value.value,
);
}