コード例 #1
0
        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);
        }
コード例 #2
0
        public void BeginSheet(NSPrintInfo printInfo, NSWindow docWindow, Action onEnded)
        {
            var obj = new NSAsyncActionDispatcher(onEnded);

            BeginSheet(printInfo, docWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
 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);
 }
コード例 #5
0
 public void BeginSheet(NSPrintInfo printInfo, NSWindow docWindow, NSAction onEnded)
 {
     var obj = new NSAsyncActionDispatcher (onEnded);
     BeginSheet (printInfo, docWindow, obj, NSActionDispatcher.Selector, IntPtr.Zero);
 }
コード例 #6
0
 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);
 }