public WindowChildFuncWrapper(Gdk.WindowChildFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new WindowChildFuncNative(NativeCallback); } }
public static Gdk.WindowChildFunc GetManagedDelegate (WindowChildFuncNative native) { if (native == null) return null; WindowChildFuncWrapper wrapper = (WindowChildFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public static Gdk.WindowChildFunc GetManagedDelegate(WindowChildFuncNative native) { if (native == null) { return(null); } WindowChildFuncWrapper wrapper = (WindowChildFuncWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal WindowChildFuncInvoker(WindowChildFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal WindowChildFuncInvoker(WindowChildFuncNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal WindowChildFuncInvoker(WindowChildFuncNative native_cb) : this(native_cb, IntPtr.Zero, null) { }
public WindowChildFuncWrapper (Gdk.WindowChildFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new WindowChildFuncNative (NativeCallback); }
internal WindowChildFuncInvoker (WindowChildFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal WindowChildFuncInvoker (WindowChildFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal WindowChildFuncInvoker (WindowChildFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}