enumerateWindowsWithOptions method
void
enumerateWindowsWithOptions(
- NSWindowListOptions options, {
- required ObjCBlock<
Void Function(NSWindow, Pointer< usingBlock,Bool> )>
enumerateWindowsWithOptions:usingBlock:
Implementation
void enumerateWindowsWithOptions(
NSWindowListOptions options, {
required objc.ObjCBlock<ffi.Void Function(NSWindow, ffi.Pointer<ffi.Bool>)>
usingBlock,
}) {
objc.checkOsVersionInternal(
'NSApplication.enumerateWindowsWithOptions:usingBlock:',
iOS: (true, null),
macOS: (false, (10, 12, 0)),
);
_objc_msgSend_1kw9vjt(
this.ref.pointer,
_sel_enumerateWindowsWithOptions_usingBlock_,
options.value,
usingBlock.ref.pointer,
);
}