public ClipboardTargetsReceivedFuncWrapper(Gtk.ClipboardTargetsReceivedFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ClipboardTargetsReceivedFuncNative(NativeCallback);
     }
 }
        public static Gtk.ClipboardTargetsReceivedFunc GetManagedDelegate(ClipboardTargetsReceivedFuncNative native)
        {
            if (native == null)
            {
                return(null);
            }
            ClipboardTargetsReceivedFuncWrapper wrapper = (ClipboardTargetsReceivedFuncWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
 internal ClipboardTargetsReceivedFuncInvoker(ClipboardTargetsReceivedFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
 internal ClipboardTargetsReceivedFuncInvoker(ClipboardTargetsReceivedFuncNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
 internal ClipboardTargetsReceivedFuncInvoker(ClipboardTargetsReceivedFuncNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }
Пример #6
0
 internal static extern void gtk_clipboard_request_targets(IntPtr raw, ClipboardTargetsReceivedFuncNative cb, IntPtr user_data);