public static void ShowAnimationEffect(NSAnimationEffect animationEffect, CGPoint centerLocation, CGSize size, Action endedCallback) { var d = new NSAsyncActionDispatcher(endedCallback); ShowAnimationEffect(animationEffect, centerLocation, size, d, NSActionDispatcher.Selector, IntPtr.Zero); GC.KeepAlive(d); }
public void BeginSheet(NSPrintInfo printInfo, NSWindow docWindow, Action onEnded) { var obj = new NSAsyncActionDispatcher(onEnded); BeginSheet(printInfo, docWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero); }
public void BeginSheet(string directory, string fileName, string [] fileTypes, NSWindow modalForWindow, Action onEnded) { var obj = new NSAsyncActionDispatcher(onEnded); BeginSheet(directory, fileName, fileTypes, modalForWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero); }
public static void ShowAnimationEffect(NSAnimationEffect animationEffect, CGPoint centerLocation, CGSize size, NSAction endedCallback) { var d = new NSAsyncActionDispatcher (endedCallback); ShowAnimationEffect (animationEffect, centerLocation, size, d, NSActionDispatcher.Selector, IntPtr.Zero); GC.KeepAlive (d); }
public void BeginSheet(NSPrintInfo printInfo, NSWindow docWindow, NSAction onEnded) { var obj = new NSAsyncActionDispatcher (onEnded); BeginSheet (printInfo, docWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero); }
public void BeginSheet(string directory, string fileName, string []fileTypes, NSWindow modalForWindow, NSAction onEnded) { var obj = new NSAsyncActionDispatcher (onEnded); BeginSheet (directory, fileName, fileTypes, modalForWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero); }