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

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